chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
test/exec-group.service
@@ -0,0
+1,6
@@
+[Unit]
+Description=Test for Group
+
+[Service]
+ExecStart=/bin/sh -c 'exit $(test $(id -n -g) = nobody)'
+Group=nobody