From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/957 Path: news.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: signaling log processes Date: Sun, 18 Dec 2005 14:20:47 +0100 Message-ID: <20051218132047.3682.qmail@8320255241a5c4.315fe32.mid.smarden.org> References: <20051217035826.GC10371@always.joy.eth.net> <20051218025633.GB9869@always.joy.eth.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134912065 11886 80.91.229.2 (18 Dec 2005 13:21:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Dec 2005 13:21:05 +0000 (UTC) Original-X-From: supervision-return-1193-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Dec 18 14:21:05 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1EnySh-00089u-02 for gcsg-supervision@gmane.org; Sun, 18 Dec 2005 14:20:27 +0100 Original-Received: (qmail 1173 invoked by uid 76); 18 Dec 2005 13:20:48 -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 1168 invoked from network); 18 Dec 2005 13:20:48 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20051218025633.GB9869@always.joy.eth.net> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:957 Archived-At: On Sun, Dec 18, 2005 at 08:26:33AM +0530, Joshua N Pritikin wrote: > On Sat, Dec 17, 2005 at 04:06:25PM -0500, Charlie Brady wrote: > > On Sat, 17 Dec 2005, Joshua N Pritikin wrote: > > >Can this be made to work? > > > > > > sv a apache2/log > > > > Perhaps you could be more explicit about what you want, and what is > > happening now which you wish to change. I don't know what "made to work" > > actually means, because I don't know your definition of "work". > > Oh! > > What I meant is that if I set up a ./log/run for apache2 then I want > "sv a apache2/log" to send a SIGALRM to the process started by > ./log/run. Works fine for me it seems. # ls -l /var/service/socklog-unix/log/main/main/current -rw-r--r-- 1 log adm 319333 Dec 18 13:15 /var/service/socklog-unix/log/main/main/current # sv alarm socklog-unix/log # ls -l /var/service/socklog-unix/log/main/main/current -rw-r--r-- 1 log adm 0 Dec 18 13:16 /var/service/socklog-unix/log/main/main/current # Regards, Gerrit.