summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-privatedevices-bind.service
blob: c2229a4a7af4238c9113b070a66ebab771a12223 (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=sh -c 'test -c /dev/kmsg'
ExecStart=sh -c 'test ! -w /dev/'
Type=oneshot
PrivateDevices=yes
BindPaths=/dev/kmsg