]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-dynamicuser-supplementarygroups.service
bpf: fix SPDX short identifier for LGPL-2.1-or-later
[thirdparty/systemd.git] / test / test-execute / exec-dynamicuser-supplementarygroups.service
CommitLineData
5c67067f
DH
1[Unit]
2Description=Test DynamicUser with SupplementaryGroups=
3
4[Service]
ccac6256
DC
5ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$HAVE" -eq 1'
6ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "2" && HAVE=1; done; test "$$HAVE" -eq 1'
7ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "3" && HAVE=1; done; test "$$HAVE" -eq 1'
5c67067f
DH
8Type=oneshot
9DynamicUser=yes
10SupplementaryGroups=1 2 3