supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Joan Picanyol i Puig <lists-supervision@biaix.org>
To: supervision@list.skarnet.org
Subject: Re: runsvdir under runsv
Date: Wed, 10 Oct 2007 21:42:25 +0200	[thread overview]
Message-ID: <20071010194225.GC71286@grummit.biaix.org> (raw)
In-Reply-To: <20071010131638.GF2046@enterprise.starfleet>

* Lasse Kliemann <lasse-list-supervision-2007@plastictree.net> [20071010 14:57]:
> I'd like to run a bunch of services in a kind of sub-hierarchy under 
> `/service/sub'; more precisely the service in `/service/sub' shall be something 
> like runsvdir managing services in a directory `/service/sub/service'.
> 
> The naive approach was to let `/service/sub/run' be like this:
> 
>    #!/bin/sh
>    exec runsvdir service
> 
> One problem with this is that bringing down all services in 
> `/service/sub/services' involves something like
> 
>    sv o /service/sub ; sv h /service/sub

What's wrong with 'sv h /service/sub/services/*' ?

http://cr.yp.to/daemontools/svscan.html
"svscan is designed to run forever."

The same applies to runsvdir; if you need to stop it, you are doing
something wrong.

qvb
--
pica


  reply	other threads:[~2007-10-10 19:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10 13:16 Lasse Kliemann
2007-10-10 19:42 ` Joan Picanyol i Puig [this message]
2007-10-10 21:47   ` Lasse Kliemann
2007-10-11 12:50     ` Gerrit Pape
2007-10-11 16:06       ` Lasse Kliemann

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=20071010194225.GC71286@grummit.biaix.org \
    --to=lists-supervision@biaix.org \
    --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).