From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/493 Path: main.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Who actually gets the TERM signal in "runsvctrl down"? Date: Sat, 26 Jun 2004 00:03:24 -0400 Sender: news 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 1088222689 13443 80.91.224.253 (26 Jun 2004 04:04:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Jun 2004 04:04:49 +0000 (UTC) Original-X-From: supervision-return-731-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Jun 26 06:04:40 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 1Be4Qi-0005ke-00 for ; Sat, 26 Jun 2004 06:04:40 +0200 Original-Received: (qmail 18571 invoked by uid 76); 26 Jun 2004 04:05:01 -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 18565 invoked from network); 26 Jun 2004 04:05:01 -0000 X-Injected-Via-Gmane: http://gmane.org/ Original-To: supervision@list.skarnet.org Original-Lines: 19 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: hippo.asfast.com User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:ldBi8jAGGlJ/ytUl1njXcEk7L8A= Xref: main.gmane.org gmane.comp.sysutils.supervision.general:493 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:493 Lloyd Zusman writes: > [ ... ] > > restart: runscvtrl t apache; runsvctrl u apache > (causes cleanup stuff to run during the second command) We both suggested this one, but I have a question: Why do we need the second "u" command? Won't the "run" script restart on its own after the "t" command, thereby obviating the need for the "u" command? In this case, the cleanup stuff in the script will get re-invoked on restart, correct? -- Lloyd Zusman ljz@asfast.com God bless you.