Debian Codegraph @

test/testdata/test-execute/exec-privatetmp-disconnected.service

raw
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for PrivateTmp=disconnected
4
5 [Service]
6 ExecStart=bash -x -c 'test ! -f /tmp/test-exec_privatetmp'
7 ExecStart=touch /tmp/test-exec_privatetmp_disconnected
8 ExecStart=touch /var/tmp/test-exec_privatetmp_disconnected
9 ExecStart=bash -x -c 'test x$$TMPDIR = x'
10 Type=oneshot
11 ProtectSystem=strict
12 PrivateTmp=disconnected