chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
service: read special startup dirs only on the respective distros
[elogind.git]
/
test1
/
exec-demo.service
diff --git
a/test1/exec-demo.service
b/test1/exec-demo.service
index ea40b1fecf028961a9636a3b757791d85d7ec3eb..5802e376979c11289e30755414308c83fe5a19a4 100644
(file)
--- a/
test1/exec-demo.service
+++ b/
test1/exec-demo.service
@@
-2,4
+2,8
@@
Description=Simple Execution Demo
[Service]
-ExecStart=/bin/ls
+ExecStartPre=/bin/ps -eo pid,uid,args,cgroup
+ExecStartPre=/bin/cat /etc/hosts
+ExecStart=/bin/bash -c '/bin/sleep 5 &'
+Type=forking
+Output=syslog