X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=test1%2Fexec-demo.service;h=5802e376979c11289e30755414308c83fe5a19a4;hp=b772518e3eb2cc53c89dae6f21e83111e2b6b9a1;hb=99e68c0b2d6ca9d491036920fcbca4c8d54404a8;hpb=071830ff32351c19343ff1f0343c13d5c2b69250 diff --git a/test1/exec-demo.service b/test1/exec-demo.service index b772518e3..5802e3769 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