supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Charlie Brady <charlieb-supervision@budge.apana.org.au>
To: Rehan Khan <rehan.khan@dsl.pipex.com>
Cc: supervision@list.skarnet.org
Subject: Re: non-daemon services/scripts as dependancies
Date: Sun, 30 Dec 2007 17:27:21 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0712301723400.23124@e-smith.charlieb.ott.istop.com> (raw)
In-Reply-To: <loom.20071223T025203-262@post.gmane.org>


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.



  reply	other threads:[~2007-12-30 22:27 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 [this message]
2008-01-01  8:10   ` Rehan Khan

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=Pine.LNX.4.64.0712301723400.23124@e-smith.charlieb.ott.istop.com \
    --to=charlieb-supervision@budge.apana.org.au \
    --cc=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).