From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/827 Path: news.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit - access to run script's exit status for finish? Date: Tue, 31 May 2005 11:49:15 +0000 Message-ID: <20050531114539.16382.qmail@6607a8c5b39a0b.315fe32.mid.smarden.org> References: <20050529055250.21848.qmail@eea771e6cc397c.315fe32.mid.smarden.org> <20050530074233.GA17439@skarnet.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117539849 15376 80.91.229.2 (31 May 2005 11:44:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 May 2005 11:44:09 +0000 (UTC) Original-X-From: supervision-return-1063-gcsg-supervision=m.gmane.org@list.skarnet.org Tue May 31 13:44:08 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1Dd58u-0001gZ-Nw for gcsg-supervision@gmane.org; Tue, 31 May 2005 13:42:44 +0200 Original-Received: (qmail 6229 invoked by uid 76); 31 May 2005 11:45:45 -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 6224 invoked from network); 31 May 2005 11:45:45 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20050530074233.GA17439@skarnet.org> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:827 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:827 On Mon, May 30, 2005 at 09:42:33AM +0200, Laurent Bercot wrote: > > It's not supported AFAIK. Do you already have an idea how this > > information should be passed to ./finish? > > Why not as an argument to the finish script ? This was my first idea also. But when starting to add arguments to service scripts, maybe there's more information we can pass. How about the basename of the service directory, or what about ./run knowing the exit code from ./finish? Thanks, Gerrit.