systemd/test/test-execute/exec-protecthome-tmpfs-vs-protectsystem-strict.service
2019-04-19 01:12:47 +02:00

10 lines
213 B
Desktop File

[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"'