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