From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2190 Path: news.gmane.org!not-for-mail From: Alex Efros Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Installing on Centos Date: Tue, 7 May 2013 13:56:25 +0300 Organization: http://powerman.name/ Message-ID: <20130507105625.GA2125@home.power> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1367924187 21913 80.91.229.3 (7 May 2013 10:56:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 May 2013 10:56:27 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-2424-gcsg-supervision=m.gmane.org@list.skarnet.org Tue May 07 12:56:27 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 1UZfZL-0001sZ-0j for gcsg-supervision@plane.gmane.org; Tue, 07 May 2013 12:56:27 +0200 Original-Received: (qmail 5461 invoked by uid 76); 7 May 2013 09:49:09 -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 5453 invoked from network); 7 May 2013 09:49:09 -0000 Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2190 Archived-At: Hi! On Tue, May 07, 2013 at 10:30:15AM +0100, Peter Hickman wrote: > No problem with that (so far) but when I compare it to my Ubuntu 10.04 > installation I seem to be missing things like I didn't installed runit from source for years, so I may be wrong, but: > 1) /etc/sv and /etc/service Runit doesn't hardcoded to use some predefined directory, you can put your services in any directory you like - /service or /etc/sv - you choose. So, neither of these directories created automatically when installing runit - you've to create them yourself. Some linux distributives when creating packages for runit make this decision instead of you and preconfigure runit in some way, which include creating such directories. > 2) When is ps ax it does not appear to be running anywhere... That's because you didn't started it, I suppose. :) > 3) The sv command only seems to be available to root, unlike on Ubunto > where other accounts can access it Check your $PATH, different distributives configure it in different ways - some include */sbin/ directories in $PATH for non-root users, others don't. Same for /usr/local/{bin,sbin}/. Check where your runit's binaries was installed and is that directory included in non-root's $PATH. -- WBR, Alex.