]>
Commit | Line | Data |
---|---|---|
8a584da2 MP |
1 | [Unit] |
2 | Description=Test for Supplementary Group with multiple groups and Uid=1 | |
3 | ||
4 | [Service] | |
6e866b33 MB |
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 'HAVE=0; for g in $$(id -G); do test "$$g" = "2" && HAVE=1; done; test "$$HAVE" -eq 1' | |
7 | ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "3" && HAVE=1; done; test "$$HAVE" -eq 1' | |
8a584da2 MP |
8 | Type=oneshot |
9 | User=1 | |
10 | SupplementaryGroups=1 2 3 |