summaryrefslogtreecommitdiff
path: root/test1
diff options
context:
space:
mode:
Diffstat (limited to 'test1')
-rw-r--r--test1/exec-demo.service6
1 files changed, 4 insertions, 2 deletions
diff --git a/test1/exec-demo.service b/test1/exec-demo.service
index b772518e3e..5802e37697 100644
--- a/test1/exec-demo.service
+++ b/test1/exec-demo.service
@@ -2,6 +2,8 @@
Description=Simple Execution Demo
[Service]
-ExecStart=/bin/cat /etc/hosts
-Type=simple
+ExecStartPre=/bin/ps -eo pid,uid,args,cgroup
+ExecStartPre=/bin/cat /etc/hosts
+ExecStart=/bin/bash -c '/bin/sleep 5 &'
+Type=forking
Output=syslog