test: add a testcase for ProtectHome=tmpfs vs ProtectSystem=strict
This commit is contained in:
@@ -0,0 +1,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"'
|
||||
Reference in New Issue
Block a user