chiark / gitweb /
tests: add test-execute
[elogind.git] / test / exec-group.service
diff --git a/test/exec-group.service b/test/exec-group.service
new file mode 100644 (file)
index 0000000..1aa04b5
--- /dev/null
@@ -0,0 +1,6 @@
+[Unit]
+Description=Test for Group
+
+[Service]
+ExecStart=/bin/sh -c 'exit $(test $(id -n -g) = nobody)'
+Group=nobody