summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-protecthome-tmpfs-vs-protectsystem-strict.service
blob: 1522ff80e163de2a4a9a2eeebb501c8a57ff65d1 (plain)
1
2
3
4
5
6
7
8
9
[Unit]
Description=Test ProtectHome=tmpfs vs ProtectSystem=strict
# Test for #11276

[Service]
ProtectHome=tmpfs
ProtectSystem=strict
Type=oneshot
ExecStart=/bin/sh -x -c 'test "$$(stat -fc %%T /home)" = "tmpfs"'