From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1982 Path: news.gmane.org!not-for-mail From: David Miller Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Configuration services Date: Mon, 27 Jul 2009 21:08:21 -0500 Message-ID: <20090728020821.GA25002@pretender.frop.net> References: <20090726162204.GA19230@pretender.frop.net> <20090727085635.GO30106@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1248746911 768 80.91.229.12 (28 Jul 2009 02:08:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jul 2009 02:08:31 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-2217-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Jul 28 04:08:24 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 1MVc76-00010w-Lc for gcsg-supervision@gmane.org; Tue, 28 Jul 2009 04:08:24 +0200 Original-Received: (qmail 9467 invoked by uid 76); 28 Jul 2009 02:09:42 -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 9459 invoked from network); 28 Jul 2009 02:09:41 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=frop.net; b=SkE0MptOV3DAcaBb+biUAYth289PeL8JSA3OwTjNU9zaP2qxyMdlEbOPDcCmO5dRl2XZAy/aQaHaDdCPLBnCg0+j/kTogerWLaO/4WUPyeVk/MN9d1Cbp4QkSMtvNG7aKgJ5ZwkgUw5Oqf0oiXb5QGtNfg3mznIPfXamc1W8CRY= ; Content-Disposition: inline In-Reply-To: <20090727085635.GO30106@fencepost.gnu.org> User-Agent: Mutt/1.4.2.3i Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1982 Archived-At: Thomas spoke thusly: > Hello! >=20 > On Sun, Jul 26, 2009 at 11:22:04AM -0500, David Miller wrote: > > Hi, does anyone use services that just set up some things but don't > > actually run a daemon? This is hinted at > > http://smarden.org/pape/djb/daemontools/noinit.html. >=20 > Perhaps I'm misunderstanding, but wouldn't it work to simply use the sv > interface to take the service down once it has done its one-time work? >=20 >=20 > Regards, > Thomas I want to be able to have other services depend on it. I don't think that I= would be able to use 'sv check' in those dependant service run scripts if = the config service has already exited. I also have a ./finish script that undoes all the configuration, so I don't= want ./finish to run unless I really want my "service" to be down. From r= eading the sv man page it seems like./finish would get run if I brought up = my "service" with sv once. --=20 David Miller dave@frop.net http://dave.frop.net/