supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Sascha Hüdepohl" <renegat@fbe.hs-bremen.de>
Subject: runit and System shutdown
Date: Fri, 27 Jan 2006 11:17:45 +0100	[thread overview]
Message-ID: <20060127101745.GB4010@b491.dyndns.org> (raw)

Hi,

i am using runit 1.0.5 on my Debian/Sarge for all the Daemons except
postfix. runsvdir-start is run from inittab.

Now i wonder what happens to my Daemons on System shutdown. As far as i
understand there is no explicit "stop" for the Services. init will
change to Runlevel 0 and /etc/rc0.d/S20sendsigs will send SIG15 to all
running Processes. This will hit all runsv svlogd and even runsvdir at
the same time. To me this sounds like total loss of control. Its quite a
mess. Is there something i dont understand? Shouldnt there be an
init-script that does runsvctrl d /var/services/* as the first Action
in Runlevel 0?

TIA
sascha


             reply	other threads:[~2006-01-27 10:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-27 10:17 Sascha Hüdepohl [this message]
2006-01-30 20:46 ` Henrik Heil
2006-02-01 10:28   ` Gerrit Pape

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=20060127101745.GB4010@b491.dyndns.org \
    --to=renegat@fbe.hs-bremen.de \
    /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).