summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-inaccessiblepaths-sys.service
blob: 64a570ce4df283e03abea2cef6b0b015bcc9d75e (plain)
1
2
3
4
5
6
7
8
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test to make sure that mount namespace setup works properly with the 'InaccessiblePaths=/proc' option

[Service]
InaccessiblePaths=/sys
ExecStart=sh -x -c 'test "$$(stat -c %%a /sys)" = "0"'
Type=oneshot