From: David Miller <dave@frop.net>
To: supervision@list.skarnet.org
Subject: Re: Configuration services
Date: Sun, 26 Jul 2009 16:10:51 -0500 [thread overview]
Message-ID: <20090726211051.GA19869@pretender.frop.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0907261444300.18966@e-smith.charlieb.ott.istop.com>
Charlie spoke thusly:
>
> On Sun, 26 Jul 2009, Laurent Bercot wrote:
>
> >If you just want to set up some stuff *once*, and run no daemon, the
> >service model doesn't apply; write a script that does what you want and
> >just call it when needed (for instance at one-time system initialization),
> >don't try to keep it supervised.
>
> Keeping it supervised does have the advantage of giving a guaranteed
> consistent environment. However you could provide the same guarantee other
> ways.
The main reason I am attracted to this is it allows me to do dependencies. The example on Gerrits page talks about thinking about eth0 as a service.
What I am doing is configuring a virtual bridge and some tap devices before I start some other services that need the bridge to be up.
in ./run I configure the bridge and then sleep until ./check fails. It does seem unnecessary to leave a shell script runnning like that, but it works.
--
David Miller dave@frop.net http://dave.frop.net/
next prev parent reply other threads:[~2009-07-26 21:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-26 16:22 David Miller
2009-07-26 17:07 ` Laurent Bercot
2009-07-26 18:45 ` Charlie Brady
2009-07-26 21:10 ` David Miller [this message]
2009-07-27 8:56 ` Thomas Schwinge
2009-07-28 2:08 ` David Miller
2009-07-28 5:52 ` Laurent Bercot
2009-07-28 16:01 ` David Miller
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=20090726211051.GA19869@pretender.frop.net \
--to=dave@frop.net \
--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).