Re: how to write daemons that sysadmins will hate

[email protected] (Paul Jarc) Thu, 01 May 2003 12:03:23 -0400
Newsgroups gmane.org.djb.miscellaneous
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
"Chris K. Young" <[email protected]> wrote:
> http://cloud9.hedgee.com/scribbles/daemon

From that page:

> Assuming that a program doesn't seek on the file it logs to (so that
> it can log to a FIFO), it is wholly frustrating for it to close the
> file too often, since a multilog process that sees end of input will
> terminate and have to be restarted.

multilog doesn't see EOF when a service closes its logging descriptor;
svscan and supervise still have the writing end of the pipe open.

> Feel free to suggest pet peeves of your own! :-)

Inverse of:
<URL:http://homepages.tesco.net./~J.deBoynePollard/FGA/unix-daemon-design-mistakes-to-avoid.html>


paul