1 2 3 4 5 6 7
[Unit] Description=Test for Group (daemon) [Service] ExecStart=/bin/sh -x -c 'test "$$(id -n -g)" = "daemon"' Type=oneshot Group=daemon