Date: Thu, 10 May 2001 00:10:24 -0700 (PDT) From: Peter Pentchev <roam@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/sysutils/daemontools Makefile ports/sysutils/daemontools/files patch-supervise.c Message-ID: <200105100710.f4A7AOu39242@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
roam 2001/05/10 00:10:24 PDT Modified files: sysutils/daemontools Makefile Added files: sysutils/daemontools/files patch-supervise.c Log: 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) Revision Changes Path 1.9 +2 -1 ports/sysutils/daemontools/Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105100710.f4A7AOu39242>