summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-readonlypaths.service
blob: 6866fdc7002387395eb0f517c5944bc198ca453b (plain)
1
2
3
4
5
6
7
[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