[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using upstart in Debian [was, Re: Debian systemd survey]



 ❦ 24 mai 2013 12:29 CEST, Dmitrijs Ledkovs <xnox@debian.org> :

> The best way to run daemons under upstart is in foreground, then
> correct PID is tracked and the complete stdout/stderr is properly
> collected and stored in /var/log/upstart/$job.log (even early boot
> output).

The best way to run a daemon under upstart is by using "expect
stop". This is the one thing I think upstart is better than
systemd. This is really easy to implement in most daemons (one line of
code). Notifying systemd is not really complex but this cannot be done
in one line or without an external dependency.
-- 
Keep it right when you make it faster.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: pgpw2EiLq1YFn.pgp
Description: PGP signature


Reply to: