From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1609 Path: news.gmane.org!not-for-mail From: Bernhard Graf Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: using runit as init Date: Thu, 10 Jan 2008 10:22:55 +0100 Message-ID: <200801101022.55766.list-supervision@augensalat.de> References: <200801032151.21524.list-supervision@augensalat.de> <200801091634.06623.mike@geekgene.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199956980 17787 80.91.229.12 (10 Jan 2008 09:23:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2008 09:23:00 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1844-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Jan 10 10:23:20 2008 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 1JCtd9-0000x8-T5 for gcsg-supervision@gmane.org; Thu, 10 Jan 2008 10:23:20 +0100 Original-Received: (qmail 32411 invoked by uid 76); 10 Jan 2008 09:23:03 -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 32401 invoked from network); 10 Jan 2008 09:23:03 -0000 User-Agent: KMail/1.9.1 In-Reply-To: Content-Disposition: inline Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1609 Archived-At: Charlie Brady wrote: > On Wed, 9 Jan 2008, Mike Buland wrote: > > Finally, if you really do want to start an rc script and make it > > appear as though it were a normal runit system service, then I > > would reccomend starting it in a run script, then executing a > > command that blocks forever. The service will use effectively no > > CPU time, but will stay running, forever. > > For instance, compile: > > main() > { > pause(); > } > > into /usr/local/bin/pause, and then have a run script: > > #! /bin/sh > do_something_you_care_about > exec /usr/local/bin/pause Nice. Will try it. -- Bernhard Graf