mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
9 lines
376 B
Desktop File
9 lines
376 B
Desktop File
[Service]
|
|
Type=oneshot
|
|
# This should work, as we explicitly disable the effect of ReadOnlyPaths=
|
|
ExecStart=+/bin/sh -c 'touch /tmp/thisisasimpletest'
|
|
# This should also work, as we do not disable the effect of ReadOnlyPaths= but invert the exit code
|
|
ExecStart=/bin/sh -x -c '! touch /tmp/thisisasimpletest'
|
|
ExecStart=+/bin/sh -c 'rm /tmp/thisisasimpletest'
|
|
ReadOnlyPaths=/tmp
|