supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Rehan Khan <rehan.khan@dsl.pipex.com>
To: supervision@list.skarnet.org
Subject: Re: non-daemon services/scripts as dependancies
Date: Tue, 1 Jan 2008 08:10:16 +0000 (UTC)	[thread overview]
Message-ID: <loom.20080101T080612-528@post.gmane.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0712301723400.23124@e-smith.charlieb.ott.istop.com>

Charlie Brady <charlieb-supervision <at> 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



      reply	other threads:[~2008-01-01  8:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-23  4:31 Rehan Khan
2007-12-30 22:27 ` Charlie Brady
2008-01-01  8:10   ` Rehan Khan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20080101T080612-528@post.gmane.org \
    --to=rehan.khan@dsl.pipex.com \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).