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