diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-03-31 16:29:55 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-03-31 16:29:55 +0200 |
commit | 8e27452380193a5f81bfd08a59aab8b07008ba0b (patch) | |
tree | 7ea3398a0cff784e5c45416bec5104597aaa3625 /test1/exec-demo.service | |
parent | c9dae904f3a07ae563bd58fb2b39529c1f108915 (diff) |
cgroup: add cgroupsification
Diffstat (limited to 'test1/exec-demo.service')
-rw-r--r-- | test1/exec-demo.service | 6 |
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 |