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

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