| 1 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
[Unit] |
| 3 |
Description=Test for PrivateTmp=yes with prefix |
| 4 |
|
| 5 |
[Service] |
| 6 |
ExecStart=bash -x -c 'test ! -f /tmp/test-exec_privatetmp' |
| 7 |
ExecStart=+bash -x -c 'test -f /tmp/test-exec_privatetmp' |
| 8 |
Type=oneshot |
| 9 |
PrivateTmp=yes |