]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-runtimedirectory-owner.service
Merge pull request #1763 from endocode/kayrus/fix_man_chattr
[thirdparty/systemd.git] / test / test-execute / exec-runtimedirectory-owner.service
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