]>
Commit | Line | Data |
---|---|---|
1 | [Unit] | |
2 | Description=Test for RuntimeDirectory with RuntimeDirectoryPreserve=yes and DynamicUser=yes 2nd trial | |
3 | ||
4 | [Service] | |
5 | ExecStart=/bin/sh -x -c 'test -d %t/test-exec_runtimedirectorypreserve' | |
6 | ExecStart=/bin/sh -x -c 'test "$$RUNTIME_DIRECTORY" = "%t/test-exec_runtimedirectorypreserve"' | |
7 | ExecStart=/bin/sh -x -c 'test -f $$RUNTIME_DIRECTORY/test' | |
8 | ExecStart=/bin/sh -x -c 'touch $$RUNTIME_DIRECTORY/test' | |
9 | Type=oneshot | |
10 | RuntimeDirectory=test-exec_runtimedirectorypreserve | |
11 | RuntimeDirectoryPreserve=yes | |
12 | DynamicUser=yes |