summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-privatedevices-disabled-by-prefix.service
blob: 8f09c4ab95c42e5c967553a3377ad8099bdb04a5 (plain)
1
2
3
4
5
6
7
8
9
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PrivateDevices=yes with prefix

[Service]
ExecStart=sh -x -c '! test -c /dev/kmsg'
ExecStart=+/bin/sh -x -c 'test -c /dev/kmsg'
Type=oneshot
PrivateDevices=yes