summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-runtimedirectory-mode.service
blob: ba6d7ee39ff60a173778c7653f75aefd3aaf1a9b (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Test for RuntimeDirectoryMode

[Service]
ExecStart=/bin/sh -c 's=$(stat -c %a /tmp/test-exec_runtimedirectory-mode); echo $s; exit $(test $s = "750")'
Type=oneshot
RuntimeDirectory=test-exec_runtimedirectory-mode
RuntimeDirectoryMode=0750