From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/992 Path: news.gmane.org!not-for-mail From: Sascha =?iso-8859-15?Q?H=FCdepohl?= Newsgroups: gmane.comp.sysutils.supervision.general Subject: runit and System shutdown Date: Fri, 27 Jan 2006 11:17:45 +0100 Message-ID: <20060127101745.GB4010@b491.dyndns.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138357074 12149 80.91.229.2 (27 Jan 2006 10:17:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2006 10:17:54 +0000 (UTC) Original-X-From: supervision-return-1228-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Jan 27 11:17:53 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1F2Qfv-0002AE-Es for gcsg-supervision@gmane.org; Fri, 27 Jan 2006 11:17:51 +0100 Original-Received: (qmail 15201 invoked by uid 76); 27 Jan 2006 10:18:11 -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 15195 invoked from network); 27 Jan 2006 10:18:11 -0000 Original-To: supervision@list.skarnet.org Content-Disposition: inline User-Agent: Mutt/1.5.11 X-AV-Checked: ClamAV using ClamSMTP Xref: news.gmane.org gmane.comp.sysutils.supervision.general:992 Archived-At: 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