Commit graph

3 commits

Author SHA1 Message Date
Peter Pentchev
9039844b13 Fix a bug in the supervise(8) tool if the fork(2) syscall should fail. 2010-03-15 09:29:05 +00:00
Peter Pentchev
5d9acace80 Update to 0.76.
Assume maintainership.

Reviewed by:	nbm
Approved by:	nbm
2002-01-04 14:38:13 +00:00
Peter Pentchev
5069db76e5 Almost revert a change made in daemontools-0.70's supervise, where
the one-second sleep between invocations was moved to after the actual
invocation.  This sleep could be interrupted by a SIGCHLD in the case
of a failing service, and the service could be restarted way more than
the documented once-per-second.  Move the sleep back before the fork(),
just don't sleep before the very first fork, so the service starts faster.

Silence by:	Daniel J. Bernstein (no telling if he'll fix this in later
		daemontools releases, so I guess we'll have to do it as part
		of our port..)
Approved by:	nbm (maintainer)
2001-05-10 07:10:24 +00:00