summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-privatedevices-disabled-by-prefix.service
blob: 19b1da524005004e4bfd54ffa966a8a077db4ab6 (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Test for PrivateDevices=yes with prefix

[Service]
ExecStart=/bin/sh -x -c '! test -c /dev/kmsg'
ExecStart=+/bin/sh -x -c 'test -c /dev/kmsg'
Type=oneshot
PrivateDevices=yes