]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/exec-runtimedirectory-owner.service
Merge pull request #1619 from iaguis/nspawn-sysfs-netns-3
[thirdparty/systemd.git] / test / exec-runtimedirectory-owner.service
CommitLineData
5bc7452b
RC
1[Unit]
2Description=Test for RuntimeDirectory owner (must not be the default group of the user if Group is set)
3
4[Service]
5ExecStart=/bin/sh -c 'f=/tmp/test-exec_runtimedirectory-owner;g=$(stat -c %G $f); echo "$g"; exit $(test $g = "nobody")'
6Type=oneshot
7Group=nobody
8User=root
9RuntimeDirectory=test-exec_runtimedirectory-owner