Commit graph

2 commits

Author SHA1 Message Date
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
Neil Blakey-Milner
38d0ebaebf Add a sample rc file for svscan startup, in partial fulfillment of the
PR.  I'll leave the creation of the directory, whatever it may be, to
the user.

PR:		ports/19191
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@linf.unb.br>
2000-06-22 09:22:15 +00:00