mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 07:51:21 +03:00
8 lines
208 B
SYSTEMD
8 lines
208 B
SYSTEMD
|
[Unit]
|
||
|
Description=Test for ReadOnlyPaths=
|
||
|
|
||
|
[Service]
|
||
|
ReadOnlyPaths=/etc -/i-dont-exist /usr
|
||
|
ExecStart=/bin/sh -x -c 'test ! -w /etc && test ! -w /usr && test ! -e /i-dont-exist && test -w /var'
|
||
|
Type=oneshot
|