]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-supplementarygroups.service
4dee6af748424efc939bda08e0af06a84ea7b5e8
[thirdparty/systemd.git] / test / test-execute / exec-supplementarygroups.service
1 [Unit]
2 Description=Test for Supplementary Group
3
4 [Service]
5 ExecStart=/bin/sh -x -c 'HAVE=; for g in $$(id -G); do test "$$g" = "0" && HAVE=1; done; test "$$HAVE" -eq 1'
6 ExecStart=/bin/sh -x -c 'HAVE=; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$HAVE" -eq 1'
7 Type=oneshot
8 SupplementaryGroups=1