]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-dynamicuser-fixeduser.service
Merge pull request #14194 from yuwata/network-multipath-routing-12541
[thirdparty/systemd.git] / test / test-execute / exec-dynamicuser-fixeduser.service
CommitLineData
2b9ac11e
DH
1[Unit]
2Description=Test DynamicUser with User=
3
4[Service]
491d3911
YW
5ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$HAVE" -eq 1'
6ExecStart=/bin/sh -x -c 'test "$$(id -g)" = "1" && test "$$(id -u)" = "1"'
2b9ac11e
DH
7Type=oneshot
8User=1
9DynamicUser=yes