From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/850 Path: news.gmane.org!not-for-mail From: Charles Duffy Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit - access to run script's exit status for finish? Date: Fri, 26 Aug 2005 15:30:23 -0500 Message-ID: References: <20050529055250.21848.qmail@eea771e6cc397c.315fe32.mid.smarden.org> <20050530074233.GA17439@skarnet.org> <20050531114539.16382.qmail@6607a8c5b39a0b.315fe32.mid.smarden.org> <20050531190911.25938.qmail@adf4e649eec508.315fe32.mid.smarden.org> <20050601000521.GB32490@grummit.biaix.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1125088685 13115 80.91.229.2 (26 Aug 2005 20:38:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2005 20:38:05 +0000 (UTC) Original-X-From: supervision-return-1086-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Aug 26 22:38:01 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1E8kvh-0003XA-1m for gcsg-supervision@gmane.org; Fri, 26 Aug 2005 22:36:01 +0200 Original-Received: (qmail 31976 invoked by uid 76); 26 Aug 2005 20:36:21 -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 31970 invoked from network); 26 Aug 2005 20:36:21 -0000 X-Injected-Via-Gmane: http://gmane.org/ Original-To: supervision@list.skarnet.org Original-Lines: 21 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: fwext1-ext.isgenesis.com User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Original-Sender: news Xref: news.gmane.org gmane.comp.sysutils.supervision.general:850 Archived-At: On Wed, 01 Jun 2005 02:05:21 +0200, Joan Picanyol i Puig wrote: > * Gerrit Pape [20050531 21:07]: >> On Tue, May 31, 2005 at 10:28:25AM -0400, Paul Jarc wrote: >> > >> > Environment variables make that easy. How about setting $RUN_STATUS? >> >> But on the other hand this is a change to the process state of all >> service daemons, currently their environment is well-defined through >> /etc/runit/2, or runsvdir-start. >> >> What about adding the return code to ./supervise/status? > > I usually empty the environment in my run scripts, so I'd prefer this > solution. I thought the format of supervise/status was opaque, and prone to changing between releases. Am I incorrect? (Certainly, it doesn't look trivial to parse from a shell script). Also, what's the status of this enhancement?