From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1978 Path: news.gmane.org!not-for-mail From: David Miller Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Configuration services Date: Sun, 26 Jul 2009 16:10:51 -0500 Message-ID: <20090726211051.GA19869@pretender.frop.net> References: <20090726162204.GA19230@pretender.frop.net> <20090726170735.GA13244@skarnet.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248642662 10465 80.91.229.12 (26 Jul 2009 21:11:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jul 2009 21:11:02 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-2213-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Jul 26 23:10:55 2009 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1MVAze-0000CM-Tf for gcsg-supervision@gmane.org; Sun, 26 Jul 2009 23:10:54 +0200 Original-Received: (qmail 19112 invoked by uid 76); 26 Jul 2009 21:12:11 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 19104 invoked from network); 26 Jul 2009 21:12:11 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=frop.net; b=p14ae1tazd9WlhTdcArVPMyU0gFGH2tMXv8wApvS59jIzfyv5BHKtfUCSVnozZIRgfBb4ZZVWSqEExfx8YgVv/KI6LTonKjXadHGdeFMPJdJOrDThmF/XeV8xPoedjqU0tqgPJJMbCXgdehZvkqk7r83/nvcP0NBVt7M1b/UcLU= ; Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1978 Archived-At: 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/