Systemd/test/exec-privatetmp-yes.service

8 lines
149 B
Desktop File

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