]>
Commit | Line | Data |
---|---|---|
f78b36f0 DH |
1 | [Unit] |
2 | Description=Test for ReadOnlyPaths= | |
3 | ||
4 | [Service] | |
69338c3d AJ |
5 | ReadOnlyPaths=/usr /etc /sys /dev -/i-dont-exist |
6 | PrivateDevices=yes | |
7 | ExecStart=/bin/sh -x -c 'test ! -w /usr && test ! -w /etc && test ! -w /sys && test ! -w /sys/fs/cgroup' | |
8 | ExecStart=/bin/sh -x -c 'test ! -w /dev && test ! -w /dev/shm && test ! -e /i-dont-exist && test -w /var' | |
f78b36f0 | 9 | Type=oneshot |