Importing djb's public domain daemontools?

Dag-Erling Smørgrav des at des.no
Tue Jan 17 09:25:37 UTC 2012


Jos Backus <jos at catnook.com> writes:
> I want/need a solution that works in (nearly) all cases and is devoid of
> complex code trying to track state that is already represented elsewhere in
> the system (the process table and the parent/child process
> relationship).

Please show me the complex code required to handle pidfiles.

> I want a solution that can reliably handle a crashing server that
> doesn't clean up its pidfile

That's a strawman.  Whatever tool you use needs to be able to handle
stale pidfiles anyway.

> I want a unified control interface for the services running on a box,
> a la launchd or what have you.

So extend service(8) to support enabling / disabling services through
/etc/rc.conf.d/<servicename>.  Probably no more than an afternoon's
work.

> This isn't about religion but about missing base system functionality
> - the ability to reliably control services running on a box.

The onus is on you to show that we don't already have that.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list