summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-inaccessiblepaths-sys.service
blob: 5ff6f3605b1e1acb0c938ac901e26d2f0fb02385 (plain)
1
2
3
4
5
6
7
[Unit]
Description=Test to make sure that mount namespace setup works properly with the 'InaccessiblePaths=/proc' option

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