summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-inaccessiblepaths-sys.service
blob: 0d64aa19c833763428cbbd110870aafc29b8e92c (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=/bin/sh -x -c 'test "$$(stat -c %%a /sys)" = "0"'
Type=oneshot