Debian Codegraph @

test/testdata/test-execute/exec-inaccessiblepaths-sys.service

raw
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test to make sure that mount namespace setup works properly with the 'InaccessiblePaths=/proc' option
4
5 [Service]
6 InaccessiblePaths=/sys
7 ExecStart=bash -x -c 'test "$$(stat -c %%a /sys)" = "0"'
8 Type=oneshot