]>
Commit | Line | Data |
---|---|---|
d2f95a22 YW |
1 | [Unit] |
2 | Description=Test for RuntimeDirectory owner (must not be the default group of the user if Group is set) | |
3 | ||
4 | [Service] | |
5 | ExecStart=/bin/sh -x -c 'group=$$(stat -c %%G %t/test-exec_runtimedirectory-owner); test "$$group" = "nogroup"' | |
6 | Type=oneshot | |
7 | Group=nogroup | |
8 | User=root | |
9 | RuntimeDirectory=test-exec_runtimedirectory-owner |