From owner-cvs-all Thu May 10 0:10:27 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7158337B422; Thu, 10 May 2001 00:10:24 -0700 (PDT) (envelope-from roam@FreeBSD.org) Received: (from roam@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4A7AOu39242; Thu, 10 May 2001 00:10:24 -0700 (PDT) (envelope-from roam) Message-Id: <200105100710.f4A7AOu39242@freefall.freebsd.org> From: Peter Pentchev Date: Thu, 10 May 2001 00:10:24 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/sysutils/daemontools Makefile ports/sysutils/daemontools/files patch-supervise.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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