From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1079 Path: news.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: service definition vs service activation Date: Thu, 16 Mar 2006 10:46:15 +0000 Message-ID: <20060316104615.24944.qmail@ba4c715b93ce2d.315fe32.mid.smarden.org> References: <20060306160542.18689.qmail@036bc12a5086b2.315fe32.mid.smarden.org> <20060306111338.2d8151ff@alloy.copperisle.com> <20060307183522.GB17273@home.power> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142505960 16418 80.91.229.2 (16 Mar 2006 10:46:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Mar 2006 10:46:00 +0000 (UTC) Original-X-From: supervision-return-1315-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Mar 16 11:45:57 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 1FJpzP-00010k-LU for gcsg-supervision@gmane.org; Thu, 16 Mar 2006 11:45:55 +0100 Original-Received: (qmail 18621 invoked by uid 76); 16 Mar 2006 10:46:16 -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 18616 invoked from network); 16 Mar 2006 10:46:16 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20060307183522.GB17273@home.power> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1079 Archived-At: On Tue, Mar 07, 2006 at 08:35:22PM +0200, Alex Efros wrote: > 1) Service definition directory can use symlinks to suit FHS: > /etc/sv/SERVICE/supervise -> /var/run/sv/SERVICE/ > /etc/sv/SERVICE/log/supervise -> /var/run/sv/SERVICE/log/ > and ./log/run can start svlogd with /var/log/SERVICE/ as param. > > That way /etc/ will contain only static configuration files, while > logs and ./supervise/ dir will be on /var/. > Service activation directory is /var/service/ or /var/sv/. This is what I would suggest too. My personal preference is to have all configurations of a service collected in a single directory, the service directory is a nice place for that. The only non-configuration files in a service directory are in the ./supervise/ directories, and runit allows you to make them symlinks, even dangling ones, to put them anywhere on the filesystem you like. The FHS doesn't reflect all my personal preferences, but I adhere to it while Debian development; where the FHS and by preferences differ, I use symlinks. So, in my opinion, the /etc/sv/ directory is just fine to put the services directories in, previously I put them into /etc/. Regards, Gerrit.