summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-protecthome-tmpfs-vs-protectsystem-strict.service
blob: c51cacf40d4c263677acbbed6869999e530cce18 (plain)
1
2
3
4
5
6
7
8
9
10
# 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=sh -x -c 'test "$$(stat -fc %%T /home)" = "tmpfs"'