Systemd/test1/exec-demo.service

10 lines
197 B
Desktop File

[Meta]
Description=Simple Execution Demo
[Service]
ExecStartPre=/bin/ps -eo pid,uid,args,cgroup
ExecStartPre=/bin/cat /etc/hosts
ExecStart=/bin/bash -c '/bin/sleep 5 &'
Type=forking
Output=syslog