Systemd/test/test-execute/exec-supplementarygroups-single-group.service
2016-10-23 23:27:16 +02:00

9 lines
223 B
Desktop File

[Unit]
Description=Test for Supplementary Group with only one group
[Service]
ExecStart=/bin/sh -x -c 'test "$$(id -G)" = "1" && test "$$(id -g)" = "1" && test "$$(id -u)" = "0"'
Type=oneshot
Group=1
SupplementaryGroups=1