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

[Service]
ExecStart=/bin/sh -x -c 'test -d %t/test-exec_runtimedirectory'
ExecStart=/bin/sh -x -c 'test -d %t/test-exec_runtimedirectory2/hogehoge'
ExecStart=/bin/sh -x -c 'test "$$RUNTIME_DIRECTORY" = "%t/test-exec_runtimedirectory:%t/test-exec_runtimedirectory2/hogehoge"'
Type=oneshot
RuntimeDirectory=test-exec_runtimedirectory
RuntimeDirectory=./test-exec_runtimedirectory2///./hogehoge/.