]>
Commit | Line | Data |
---|---|---|
2b9ac11e DH |
1 | [Unit] |
2 | Description=Test DynamicUser with User= | |
3 | ||
4 | [Service] | |
491d3911 YW |
5 | ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$HAVE" -eq 1' |
6 | ExecStart=/bin/sh -x -c 'test "$$(id -g)" = "1" && test "$$(id -u)" = "1"' | |
2b9ac11e DH |
7 | Type=oneshot |
8 | User=1 | |
9 | DynamicUser=yes |