From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1000 Path: news.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: /etc/runit vs /etc/sv vs /usr/share (Debian) Date: Wed, 1 Feb 2006 14:28:06 +0000 Message-ID: <20060201142806.25684.qmail@4ca2ca9055810d.315fe32.mid.smarden.org> References: <20060201135409.GA10941@dusk.harfang.homelinux.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138804145 4707 80.91.229.2 (1 Feb 2006 14:29:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2006 14:29:05 +0000 (UTC) Original-X-From: supervision-return-1236-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Feb 01 15:28:55 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1F4IxW-0004xA-Hd for gcsg-supervision@gmane.org; Wed, 01 Feb 2006 15:27:46 +0100 Original-Received: (qmail 6146 invoked by uid 76); 1 Feb 2006 14:28:07 -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 6140 invoked from network); 1 Feb 2006 14:28:07 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20060201135409.GA10941@dusk.harfang.homelinux.org> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1000 Archived-At: On Wed, Feb 01, 2006 at 02:54:09PM +0100, Gilles wrote: > The "runit" documentation on the web site seems to > recommend to install the service directory below > "/etc/runit", while the new "runit-services" (for I don't think it recommends it, but puts the default getty-5 service directory in there, yes. > Debian) installs them in "/etc/sv". > Why the difference? /etc/runit/ also is the place for the stage 1,2,3 scripts, and the magic files stopit, reboot, ctrlaltdel. I don't think it's a good place to put the service directories. Initially I thought they should just go into /etc/, but in the style of the new sv program, I decided to now recommend the /etc/sv/ directory. I'm in the progress of moving the getty-? service directories and other (such as provided by socklog-run, bcron-run, twoftpd-run, ...) into /etc/sv/ too. After all it's just personal preference. I prefer to have the service's configuration (including run scripts) and logs all accessible through a single directory, now /etc/sv//. /usr/share/ should be good for examples or template service directories, but for actual use, they should be somewhere in /etc/, where configuration files usually belong. Regards, Gerrit.