HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

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

Git blob: 599b7c854c8c2bc89401e8bd932d6dda7ba4cdcc

Lines 1–9 of 9

# 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=bash -x -c 'test "$$(stat -c %%a /sys)" = "0"'
Type=oneshot