summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-privatetmp-disabled-by-prefix.service
blob: f67afee101cc89d39103cd3f0fa4dc0a63c6b025 (plain)
1
2
3
4
5
6
7
8
9
# SPDX-License-Identifier: LGPL-2.1-or-later
[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