systemd/test/test-execute/exec-privatedevices-disabled-by-prefix.service
2021-12-20 22:20:52 +01:00

10 lines
238 B
Desktop File

# SPDX-License-Identifier: LGPL-2.1-or-later
[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