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: Charlie Brady <charlieb-supervision@budge.apana.org.au>
Cc: Jorge Almeida <jalmeida@math.ist.utl.pt>, supervision@list.skarnet.org
Subject: Re: svwaitup/check
Date: Thu, 29 Mar 2007 15:29:41 +0100 (WEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0703291526150.24990@jmaa.math.ist.utl.pt> (raw)
In-Reply-To: <Pine.LNX.4.64.0703290959480.3583@e-smith.charlieb.ott.istop.com>

On Thu, 29 Mar 2007, Charlie Brady wrote:

>
> On Thu, 29 Mar 2007, Jorge Almeida wrote:
>
>>  I'm trying to setup the network "service" with a run script like this:
>>    #!/bin/bash
>>    exec 2>&1
>>    echo "*** Bringing up network..."
>>    # wait for ulogd...
>>    exec /etc/sysconfig/network-devices/ifup eth0
>>
>>  The system is LFS. The finish script will just "touch down".
>
> That won't do what you think it will do. runsv only looks for the down file 
> when it first starts up. Perhaps you want "sv down ." in the finish script.
>
>
Thank you, it's an important point, and easy to fix!
As for the other part of my post (sv check...), I think the "requested
state" is the state the service (ulogd) is supposed to be in (as in
"want up", etc), and it's not something to include in the sv command.
Can someone confirm this?
-- 
Jorge Almeida


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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-29  8:36 svwaitup/check Jorge Almeida
2007-03-29 14:03 ` svwaitup/check Charlie Brady
2007-03-29 14:29   ` 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.0703291526150.24990@jmaa.math.ist.utl.pt \
    --to=jalmeida@math.ist.utl.pt \
    --cc=charlieb-supervision@budge.apana.org.au \
    --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).