From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1585 Path: news.gmane.org!not-for-mail From: Rehan Khan Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: non-daemon services/scripts as dependancies Date: Tue, 1 Jan 2008 08:10:16 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199175044 28179 80.91.229.12 (1 Jan 2008 08:10:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jan 2008 08:10:44 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1820-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Jan 01 09:10:59 2008 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1J9cD8-0007S3-5P for gcsg-supervision@gmane.org; Tue, 01 Jan 2008 09:10:54 +0100 Original-Received: (qmail 17549 invoked by uid 76); 1 Jan 2008 08:10:37 -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 17541 invoked from network); 1 Jan 2008 08:10:37 -0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 81.86.133.231 (Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.8 (like Gecko)) Original-Sender: news Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1585 Archived-At: Charlie Brady budge.apana.org.au> writes: > > > On Sun, 23 Dec 2007, Rehan Khan wrote: > > > One of the main issues I am tussling with is tasks that *can* be implemented > > as non-supervised services and must run only once. There does not seem to be a > > simple/universal way to tell runsvdir to run a service only once ... > > Create a run script which does it's thing, and then finally does "sv d .". > > > (and not > > expect it to run a continuous process and if it returns succesfully on that > > first run then to tell other services that the service ran successfully. > > Last I looked runit had no such notification feature. > > "sv d ." - ok that looks good, I'll try it. Didn't know that could be done. yup, Runit doesn't have a notification feature. I could use something like that though. I guess I will have to try doing it some other way. Thanks R