2016-02-28 15:00:18 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Test for RuntimeDirectory owner (must not be the default group of the user if Group is set)
|
|
|
|
|
|
|
|
[Service]
|
2018-02-22 13:34:54 +01:00
|
|
|
ExecStart=/bin/sh -x -c 'group=$$(stat -c %%G %t/test-exec_runtimedirectory-owner); test "$$group" = "nfsnobody"'
|
2016-02-28 15:00:18 +01:00
|
|
|
Type=oneshot
|
|
|
|
Group=nfsnobody
|
|
|
|
User=root
|
|
|
|
RuntimeDirectory=test-exec_runtimedirectory-owner
|