]>
Commit | Line | Data |
---|---|---|
22d3cfe5 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
bf9ace96 DH |
2 | [Unit] |
3 | Description=Test for Supplementary Group with only one group and uid 1 | |
4 | ||
5 | [Service] | |
ccac6256 | 6 | ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$HAVE" -eq 1' |
491d3911 | 7 | ExecStart=/bin/sh -x -c 'test "$$(id -g)" = "1" && test "$$(id -u)" = "1"' |
bf9ace96 DH |
8 | Type=oneshot |
9 | User=1 | |
10 | Group=1 | |
11 | SupplementaryGroups=1 |