]>
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] | |
5 | ExecStart=/bin/sh -c 'f=/tmp/test-exec_runtimedirectory-owner;g=$(stat -c %G $f); echo "$g"; exit $(test $g = "nobody")' | |
6 | Type=oneshot | |
7 | Group=nobody | |
8 | User=root | |
9 | RuntimeDirectory=test-exec_runtimedirectory-owner |