summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-privatetmp-disabled-by-prefix.service
blob: 009e6bef95b5cb827a5d563ec2181af95eb5f690 (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Test for PrivateTmp=yes with prefix

[Service]
ExecStart=/bin/sh -x -c 'test ! -f /tmp/test-exec_privatetmp'
ExecStart=+/bin/sh -x -c 'test -f /tmp/test-exec_privatetmp'
Type=oneshot
PrivateTmp=yes