]>
Commit | Line | Data |
---|---|---|
22d3cfe5 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
50ca7a35 DH |
2 | [Unit] |
3 | Description=Test for Supplementary Group with multiple groups and Group=1 | |
4 | ||
5 | [Service] | |
63403f07 ZJS |
6 | ExecStart=sh -x -c 'for g in $$(id -G); do test "$$g" = "1" && exit 0; done; exit 1' |
7 | ExecStart=sh -x -c 'for g in $$(id -G); do test "$$g" = "2" && exit 0; done; exit 1' | |
8 | ExecStart=sh -x -c 'test "$$(id -g)" = "1" && test "$$(id -u)" = "%U"' | |
50ca7a35 DH |
9 | Type=oneshot |
10 | Group=1 | |
d723b046 | 11 | SupplementaryGroups=1 2 |