On 11/04/2011 03:11 AM, Michael D. Berger wrote:
    [Service]
    ControlGroupAttribute=cpu.rt_runtime_us 500000
    ExecStart=/usr/sbin/myDaemon --daemon

I'm guessing "--daemon" tells the program to daemonize itself.
In that case you need to add "Type=forking" and "PIDFile=...".
See "man systemd.service" for what other possibilities of "Type=" there are.

Michal
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to