Re: daemontools respin?
Bernhard Graf <[email protected]> Wed, 09 Jun 2010 21:15:09 +0200
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
Bruce Guenter wrote: >> Have you looked at perp (http://b0llix.net/perp/): > > No, in fact I had never heard of it. Some more interesting ideas to > consider. Have you by any chance used an Amiga in your past? Another one worth a look might be ninit: http://riemann.fmi.uni-sofia.bg/ninit/ I don't use it myself (mainly because I'm too lazy), but it seemed quite neat and small. AFAIR you don't even need run files in many cases, and there are no supervise processes needed for each of the daemons, instead the central init program does the supervision itself (I might be wrong - it was a long time ago, when I looked at this). > The plan is to handle this entirely within svscan, to eliminate services > having to poll other services. Are you up yet? Are you up yet? I'm not sure, if I get this. How can you tell (in a daemontools-like init setup) when a service is ready to do its job without actually asking it? I mean, the fact that a program is running does not necessarily mean, that it is ready. This is much easier with the synchronous SysV startup process, with self-daemonizing services: By terminating the main process such a daemon can indicate, that the daemonized subprocess is ready. -- Bernhard Graf