]>
Commit | Line | Data |
---|---|---|
e4c01fe6 YW |
1 | [Unit] |
2 | Description=Test for RuntimeDirectory with DynamicUser=yes migrated from RuntimeDirectoryPreserve=yes | |
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 | DynamicUser=yes |