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

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