Systemd/test/test-execute/exec-privatedevices-disable...

9 lines
193 B
Desktop File

[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