John Wang wrote:
[...]
I think it would be a useful addition since I imagine most people want it to
be autostarted and init.d tends to be more popular than daemontools.
Sure, but it's not an either/or choice. You can have SysV startup and
process supervision - that's how we do it in the SME Server.
I imagine people also want to:
- have processes restarted if something fails
- have a standard, consistent method for sending signals
- avoid PID file races
That's why we use runit (and used daemontools before it).
In SME Server land we have a single init.d script to which we link all
rc.d startup scripts. This means that people have the familiar SysV
startup and all of the benefits of process supervision.
http://mirror.contribs.org/pub/smeserver/contribs/gordonr/devguide/html/devguide.html#PROCESSES
Leaving aside DJB's licensing issues (which as Charlie has already said
can be avoided by using runit/ipsvd) this is worth reading:
http://cr.yp.to/daemontools/faq/create.html#why
Thanks,
Gordon