1 2 3 4 5 6 7
[Unit] Description=Test for PrivateTmp=yes [Service] ExecStart=/bin/sh -c 'exit $(test ! -f /tmp/test-exec_privatetmp)' Type=oneshot PrivateTmp=yes