supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Jorge Almeida <jalmeida@math.ist.utl.pt>
To: Gerrit Pape <pape@smarden.org>
Cc: supervision@list.skarnet.org
Subject: Re: check script
Date: Tue, 13 Mar 2007 14:38:24 +0000 (WET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0703131424380.31479@jmaa.math.ist.utl.pt> (raw)
In-Reply-To: <20070313104428.8475.qmail@5f0221b5e9d16b.315fe32.mid.smarden.org>

On Tue, 13 Mar 2007, Gerrit Pape wrote:

>
> See http://smarden.org/runit/sv.8.html
I knew it had to be somewhere!
BTW, the main page http://smarden.org/runit/ doesn't have a link to
the program socklog-check. Is there a reason for this, or was it just an
overlook?
>
> It's run by 'sv start|restart|force-restart|check' and 'sv -v up'
> to check whether the service is up and functional, and not only the
> service daemon started.  Here it checks whether a program is listening
> on /dev/log.
>
> The ./check script is optional, and good for service dependencies.  For
> services that run service daemons that use syslog() to write log
> messages, 'sv start socklog-unix || exit' should be added to the run
> script, to make sure that no log messages are lost on bootup because the
> service daemon calls syslog() before the socklog-unix service actually
> is listening on /dev/log.
>
> HTH, Gerrit.
>
Thanks,

Jorge


      reply	other threads:[~2007-03-13 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-12 14:44 Jorge Almeida
2007-03-13 10:44 ` Gerrit Pape
2007-03-13 14:38   ` Jorge Almeida [this message]

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=Pine.LNX.4.64.0703131424380.31479@jmaa.math.ist.utl.pt \
    --to=jalmeida@math.ist.utl.pt \
    --cc=pape@smarden.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).