supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: TheOldFellow <theoldfellow@gmail.com>
Subject: Re: run scripts
Date: Tue, 18 Oct 2005 10:27:08 +0100	[thread overview]
Message-ID: <4354BFEC.7020006@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0510171939370.3848@e-smith.charlieb.ott.istop.com>

Charlie Brady wrote:
> 
> On Thu, 6 Oct 2005, Daniel Zilli wrote:
> 
>> I'm start working with runit and found it great. I would like to
<snip>
> What's also important is that the TERM signal will actually cause the
> process to shut down. A few badly behaved programs don't do that - mysql
> in particular.

But you can use a finish script to kill them (or send them their correct
shutdown signals).  I find that I need to do that for the nfsd threads
after stopping mountd (with rpc.nfsd -- 0).

> It's common practice to have programs log to stderr rather than via syslog.

Unless you use socklog (recommended).

R.




  reply	other threads:[~2005-10-18  9:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-06 20:55 Daniel Zilli
2005-10-18  0:22 ` Charlie Brady
2005-10-18  9:27   ` TheOldFellow [this message]
2008-07-04 15:22 Run scripts Gilles Sadowski
2008-07-04 15:28 ` Mike Buland
2008-07-04 16:38   ` Gilles Sadowski

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=4354BFEC.7020006@gmail.com \
    --to=theoldfellow@gmail.com \
    /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).