HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

test/test-execute/exec-supplementarygroups.service

Git blob: a147cc79f4736dddad9737caed327e93d39a5ecb

Lines 1–10 of 10

# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Supplementary Group
 
[Service]
ExecStart=bash -x -c 'for g in $$(id -G); do test "$$g" = "%G" && exit 0; done; exit 1'
ExecStart=bash -x -c 'for g in $$(id -G); do test "$$g" = "1" && exit 0; done; exit 1'
Type=oneshot
SupplementaryGroups=1