]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-readonlypaths.service
Merge pull request #14194 from yuwata/network-multipath-routing-12541
[thirdparty/systemd.git] / test / test-execute / exec-readonlypaths.service
CommitLineData
f78b36f0
DH
1[Unit]
2Description=Test for ReadOnlyPaths=
3
4[Service]
69338c3d
AJ
5ReadOnlyPaths=/usr /etc /sys /dev -/i-dont-exist
6PrivateDevices=yes
7ExecStart=/bin/sh -x -c 'test ! -w /usr && test ! -w /etc && test ! -w /sys && test ! -w /sys/fs/cgroup'
8ExecStart=/bin/sh -x -c 'test ! -w /dev && test ! -w /dev/shm && test ! -e /i-dont-exist && test -w /var'
f78b36f0 9Type=oneshot