]>
Commit | Line | Data |
---|---|---|
22d3cfe5 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
e4c01fe6 YW |
2 | [Unit] |
3 | Description=Test for RuntimeDirectory with DynamicUser=yes migrated from RuntimeDirectoryPreserve=yes | |
4 | ||
5 | [Service] | |
6 | ExecStart=/bin/sh -x -c 'test -d %t/test-exec_runtimedirectorypreserve' | |
7 | ExecStart=/bin/sh -x -c 'test "$$RUNTIME_DIRECTORY" = "%t/test-exec_runtimedirectorypreserve"' | |
8 | ExecStart=/bin/sh -x -c 'test -f $$RUNTIME_DIRECTORY/test' | |
9 | ExecStart=/bin/sh -x -c 'touch $$RUNTIME_DIRECTORY/test' | |
10 | Type=oneshot | |
11 | RuntimeDirectory=test-exec_runtimedirectorypreserve | |
12 | DynamicUser=yes |