summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-privatetmp-yes.service
blob: 881a040b87e1a69c62e6f5d5d65adddf8f75b9b4 (plain)
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