Systemd/test/test-execute/exec-dynamicuser-supplementarygroups.service
2016-11-03 08:38:28 +01:00

9 lines
212 B
Desktop File

[Unit]
Description=Test DynamicUser with SupplementaryGroups=
[Service]
ExecStart=/bin/sh -x -c 'test "$$(id -G | cut -d " " --complement -f 1)" = "1 2 3"'
Type=oneshot
DynamicUser=yes
SupplementaryGroups=1 2 3