Debian Codegraph @

test/testdata/test-execute/exec-dynamicuser-supplementarygroups.service

raw
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test DynamicUser with SupplementaryGroups=
4
5 [Service]
6 ExecStart=bash -x -c 'for g in $$(id -G); do test "$$g" = "1" && exit 0; done; exit 1'
7 ExecStart=bash -x -c 'for g in $$(id -G); do test "$$g" = "2" && exit 0; done; exit 1'
8 Type=oneshot
9 DynamicUser=yes
10 SupplementaryGroups=1 2
11 EnvironmentFile=-/usr/lib/systemd/systemd-asan-env
12 ReadWritePaths=-/coverage