From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/488 Path: main.gmane.org!not-for-mail From: Scott Gifford Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Who actually gets the TERM signal in "runsvctrl down"? Date: Fri, 25 Jun 2004 20:26:51 -0400 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088209627 23740 80.91.224.253 (26 Jun 2004 00:27:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Jun 2004 00:27:07 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: supervision-return-726-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Jun 26 02:26:58 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Be122-0007CP-00 for ; Sat, 26 Jun 2004 02:26:58 +0200 Original-Received: (qmail 16731 invoked by uid 76); 26 Jun 2004 00:27:19 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 16725 invoked from network); 26 Jun 2004 00:27:19 -0000 X-Delivered-To: supervision@list.skarnet.org X-Authentication-Warning: gfn.org: swgsh set sender to sgifford@suspectclass.com using -f Original-To: Lloyd Zusman In-Reply-To: (Paul Jarc's message of "Fri, 25 Jun 2004 13:15:16 -0400") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) X-Scanned-By: MIMEDefang 2.35 X-Scanned-By: milter-date/0.6.73 (gfn.org [207.73.176.178]); Fri, 25 Jun 2004 20:26:52 -0400 X-GFNSpamTest: 0 Xref: main.gmane.org gmane.comp.sysutils.supervision.general:488 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:488 prj@po.cwru.edu (Paul Jarc) writes: [...] > But you might ask them whether there is such a way other than > apachectl, where you start a program that doesn't put itself into the > background, and which responds to signals like SIGTERM. If they can > give you such a way, that would be ideal. There's a patch for Apache (appropriate enough...) that makes it work with daemontools. You should be able to find it with Google; if you can't let me know and I'll dig up my copy. I've used it on a number of production sites, and it works fine. ----ScottG.