Systemd/test/exec-privatedevices-yes.ser...

8 lines
136 B
Desktop File

[Unit]
Description=Test for PrivateDev=yes
[Service]
ExecStart=/bin/sh -c 'exit $(test ! -c /dev/mem)'
Type=oneshot
PrivateDevices=yes