From: "George Georgalis" <george@galis.org>
Subject: Re: runsvdir and shutdown
Date: Thu, 3 Aug 2006 15:50:41 -0400 [thread overview]
Message-ID: <20060803195041.GE14020@run.galis.org> (raw)
In-Reply-To: <20060731211420.GC24344@home.power>
On Tue, Aug 01, 2006 at 12:14:20AM +0300, Alex Efros wrote:
>On Mon, Jul 31, 2006 at 11:40:10AM -0400, George Georgalis wrote:
>> Is there a prescribed method or someone's handy script for a
>> runsvdir shutdown?
>
>Usual shutdown sequence include 'killall5 -15' command which send TERM to
>all processes (including runsv and runsvdir). After this command I've
>added 'sv force-stop /var/service/*' and that's enough for correct
>shutdown AFAIK.
okay, sounds good. I put '/usr/local/bin/sv force-stop /var/service/*'
in /etc/rc.shutdown (before rcorder is run) for netbsd -- and learned
'shutdown' is better than 'reboot, poweroff, halt'
BTW - why does 'sv d' send the CONT signal after TERM?
// George
--
George Georgalis, systems architect, administrator <IXOYE><
next prev parent reply other threads:[~2006-08-03 19:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-31 15:40 George Georgalis
2006-07-31 21:14 ` Alex Efros
2006-08-03 19:50 ` George Georgalis [this message]
2006-08-03 19:53 ` Paul Jarc
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=20060803195041.GE14020@run.galis.org \
--to=george@galis.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).