From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/756 Path: news.gmane.org!not-for-mail From: Dean Hall Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit directory organization Date: Fri, 8 Apr 2005 14:45:41 -0400 Message-ID: References: <000a01c53970$dd986680$6601a8c0@GHDESK> Reply-To: Dean Hall NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112985881 12538 80.91.229.2 (8 Apr 2005 18:44:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2005 18:44:41 +0000 (UTC) Original-X-From: supervision-return-992-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Apr 08 20:44:36 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1DJyRn-0004kU-Gm for gcsg-supervision@gmane.org; Fri, 08 Apr 2005 20:43:15 +0200 Original-Received: (qmail 23916 invoked by uid 76); 8 Apr 2005 18:46:06 -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 23910 invoked from network); 8 Apr 2005 18:46:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=AZ/S4HmEjWZ7v98u8dfRBJOgWgcpuFRbwnlss7+r8AY+J2YmfBFAI1U4jl2eI4+SnvpmocIyJ2G6pAD2lxGHxiFIBw9wan+SJXGvOxfzx08urkVBJXo3e5SXB7kNkcHheOUMw4/kC4O/jBP2KllTTDwy0J+Dy/pqDP1YFQ8mkrg= Original-To: supervision@list.skarnet.org In-Reply-To: <000a01c53970$dd986680$6601a8c0@GHDESK> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:756 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:756 On Apr 4, 2005 7:48 PM, Gregg Howe wrote: > > However, I am undecided as to how to organize the service file directories > and I am wondering what works for others. And whether anyone cares about > whether or how the runit file organization should fit into the Linux FHS. As someone has noted already, runit and other djb-ish software usually deliberately breaks FHS compatibility. I run gentoo myself and, without editing every ebuild I install, I'm pretty much stuck with a mostly FHS-compatible OS. Luckily, djb-ish stuff lets you do whatever you want. > Ordinarily, I would have service start and finish scripts in /etc, yet the > service hierarchy also contains pipes, flags, pid files, etc which seem more > appropriate in /var. Or is this the kind of information that is destined > for /svc (I am not really sure what /svc is for)? Here's the way I do it, though I'm sure many might dislike it: - envdirs in /etc/envdir.d - misc. configuration in /etc/config.d - services in /var/service/{all,default,current} I don't use /etc/runit at all. Don't worry too much about what directories in which to put stuff. It's really up to you. d -- http://deanpence.com