HALF ECHO LEARN / REFERENCE COLLECTION
v262.2test/test-execute/exec-protecthome-tmpfs-vs-protectsystem-strict.service
Git blob: 161acbcb12c96f5fb82318ea2083c3110a661bdb
Lines 1–11 of 11
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test ProtectHome=tmpfs vs ProtectSystem=strict
# Test for #11276
[Service]
ProtectHome=tmpfs
ProtectSystem=strict
Type=oneshot
ExecStart=bash -x -c 'test "$$(stat -fc %%T /home)" = "tmpfs"'