From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1606 Path: news.gmane.org!not-for-mail From: Charlie Brady Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: using runit as init Date: Wed, 9 Jan 2008 18:51:13 -0500 (EST) Message-ID: References: <200801032151.21524.list-supervision@augensalat.de> <20080109020503.GX41886@linsec.ca> <200801100006.54381.list-supervision@augensalat.de> <200801091634.06623.mike@geekgene.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1199922681 1854 80.91.229.12 (9 Jan 2008 23:51:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2008 23:51:21 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1841-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Jan 10 00:51:41 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 1JCkhu-0005qi-LQ for gcsg-supervision@gmane.org; Thu, 10 Jan 2008 00:51:38 +0100 Original-Received: (qmail 29328 invoked by uid 76); 9 Jan 2008 23:51:22 -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 29320 invoked from network); 9 Jan 2008 23:51:21 -0000 X-X-Sender: charlieb@e-smith.charlieb.ott.istop.com In-Reply-To: <200801091634.06623.mike@geekgene.com> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1606 Archived-At: 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