summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-protecthome-tmpfs-vs-protectsystem-strict.service
blob: f84e6b6f037ced650971ea57f51663773663feef (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=/bin/sh -x -c 'test "$$(stat -fc %%T /home)" = "tmpfs"'