2015-09-21 15:45:51 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Test for RuntimeDirectory owner (must not be the default group of the user if Group is set)
|
|
|
|
|
|
|
|
[Service]
|
2018-03-02 07:55:02 +01:00
|
|
|
ExecStart=/bin/sh -x -c 'group=$$(stat -c %%G %t/test-exec_runtimedirectory-owner-daemon); test "$$group" = "daemon"'
|
2015-09-21 15:45:51 +02:00
|
|
|
Type=oneshot
|
2018-03-02 07:55:02 +01:00
|
|
|
Group=daemon
|
2015-09-21 15:45:51 +02:00
|
|
|
User=root
|
2018-03-02 07:55:02 +01:00
|
|
|
RuntimeDirectory=test-exec_runtimedirectory-owner-daemon
|