mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
ecf63c9102
The man pages state that the '+' prefix in Exec* directives should ignore filesystem namespacing options such as PrivateTmp. Now it does. This is very similar to #8842, just with PrivateTmp instead of PrivateDevices.
9 lines
217 B
Desktop File
9 lines
217 B
Desktop File
[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
|