From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1741 Path: news.gmane.org!not-for-mail From: Robin Bowes Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: /service vs /var/service vs /etc/service Date: Sat, 19 Apr 2008 15:13:18 +0100 Message-ID: <4809FDFE.3050703@robinbowes.com> References: <43362.24.8.235.144.1208550740.squirrel@www.xagasoft.com> <48091595.1040101@robinbowes.com> <20080418221145.GL1498@home.power> <4809311F.3060804@robinbowes.com> <20080419132517.6752.qmail@7bcdc3a3e39f79.315fe32.mid.smarden.org> <4809F52F.1020306@robinbowes.com> <20080419135414.12570.qmail@4bcbc2195532ad.315fe32.mid.smarden.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208627595 18940 80.91.229.12 (19 Apr 2008 17:53:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2008 17:53:15 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1976-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Apr 19 19:53:49 2008 connect(): Connection refused 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 1JnDor-00077l-EV for gcsg-supervision@gmane.org; Sat, 19 Apr 2008 16:13:33 +0200 Original-Received: (qmail 8828 invoked by uid 76); 19 Apr 2008 14:13:14 -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 8822 invoked from network); 19 Apr 2008 14:13:14 -0000 X-Spam-Status: No, hits=-4.4 required=8.0 tests=ALL_TRUSTED,BAYES_00 X-Spam-Check-By: batmobile.robinbowes.com User-Agent: Thunderbird 2.0.0.12 (X11/20080226) In-Reply-To: <20080419135414.12570.qmail@4bcbc2195532ad.315fe32.mid.smarden.org> X-Enigmail-Version: 0.95.6 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1741 Archived-At: Gerrit Pape wrote: > On Sat, Apr 19, 2008 at 02:35:43PM +0100, Robin Bowes wrote: >> Gerrit Pape wrote: >>> The Debian runit package now switched to /etc/service, and I'm about to >>> change runit to use /service by default, just as daemontools does. >>> daemontools in Debian, just like runit in Debian, uses /etc/service, and >>> recommends to create a compatibility symlink /service -> /etc/service. >> Out of interest, where do you/Debian/others put the actual service >> directories, i.e. containing the run file and log dir? I currently use >> /etc/sv/servicename and symlink to /var/service/ > > Me/Debian: /etc/sv/, and the ./supervise symlinks point to > /var/lib/supervise/[.log]. /var/run/ turned out to not be > appropriate, since it might be cleaned up on reboot, losing permission > changes possibly made to the directory and files in it. Thanks - that fits in with my gut feeling too (that /var/lib should be used rather than /var/run). Where can I get the update-service script from? Would it be worth distributing that with runit? R.