Debian Codegraph @

test/testdata/test-execute/exec-privatedevices-bind.service

raw
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for PrivateDevices=yes with a bind mounted device
4
5 [Service]
6 ExecStart=bash -c 'test -c /dev/kmsg'
7 ExecStart=bash -c 'test ! -w /dev/'
8 Type=oneshot
9 PrivateDevices=yes
10 BindPaths=/dev/kmsg