summaryrefslogtreecommitdiff
path: root/test/exec-privatedevices-yes.service
blob: 85b3f4f9810e3d7b6a268e290d6c8807b25a58e1 (plain)
1
2
3
4
5
6
7
[Unit]
Description=Test for PrivateDev=yes

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