HALF ECHO LEARN / REFERENCE COLLECTION
v262.2test/test-execute/exec-privatedevices-bind.service
Git blob: a74a4435a489350c9adb024a61d4caa8e047dda2
Lines 1–11 of 11
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PrivateDevices=yes with a bind mounted device
[Service]
ExecStart=bash -c 'test -c /dev/kmsg'
ExecStart=bash -c 'test ! -w /dev/'
Type=oneshot
PrivateDevices=yes
BindPaths=/dev/kmsg