From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2194 Path: news.gmane.org!not-for-mail From: Charlie Brady Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Installing on Centos Date: Thu, 9 May 2013 10:49:35 -0400 (EDT) Message-ID: References: <20130507105625.GA2125@home.power> <494F0531-B180-4C08-B435-39CB3BCB5F3D@opscode.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: ger.gmane.org 1368110983 28340 80.91.229.3 (9 May 2013 14:49:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 May 2013 14:49:43 +0000 (UTC) Cc: "" To: Peter Hickman Original-X-From: supervision-return-2428-gcsg-supervision=m.gmane.org@list.skarnet.org Thu May 09 16:49:43 2013 Return-path: Envelope-to: gcsg-supervision@plane.gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UaSA7-0000d5-Eh for gcsg-supervision@plane.gmane.org; Thu, 09 May 2013 16:49:39 +0200 Original-Received: (qmail 23601 invoked by uid 76); 9 May 2013 13:42:23 -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 23590 invoked from network); 9 May 2013 13:42:23 -0000 X-X-Sender: charlieb@e-smith.charlieb.ott.istop.com In-Reply-To: Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2194 Archived-At: On Thu, 9 May 2013, Peter Hickman wrote: > However we need to get runit working on Centos regardless so we have hacked > up some scripts to do this. > > Runit installs fine, or at least without error but things are not working > out. > > For instance there is no /etc/init.d/runsvdir or similar. The truth be told > there isn't one on Ubuntu either but some how Ubuntu is managing to start > up "runsvdir -P /etc/service" without any problem. So one question would be > how to get this to happen on Centos 5.8? Add /etc/init/runit.conf: # runit - start runit supervisors # # This task runs the runit start script, which runs runsvdir start on runlevel [345] stop on runlevel [!$RUNLEVEL] task export RUNLEVEL console output exec /etc/runit/2 $RUNLEVEL