Re: daemontools respin?
Gerrit Pape <[email protected]> Mon, 14 Jun 2010 07:31:13 +0000 (UTC)
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
Bernhard Graf <bgware1 <at> augensalat.de> writes: > >>> 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. > > How many self-daemonizing services actually do this? Most of the ones I've > You are probably right. With SysV at least the init-script writer can > try to fix this in individual ways, e.g. waiting for a PID-File to > appear somewhere, waiting for a socket to become available, inserting > sleep calls or simply relying on the startup-penalty of the next script. > But first you don't have the same options with supervised daemons. When I introduced the ./check script into runit for this purpose, see http://smarden.org/runit/sv.8.html Regards, Gerrit.