From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/751 Path: news.gmane.org!not-for-mail From: "Gregg Howe" Newsgroups: gmane.comp.sysutils.supervision.general Subject: runit directory organization Date: Mon, 4 Apr 2005 16:48:55 -0700 Message-ID: <000a01c53970$dd986680$6601a8c0@GHDESK> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C53936.309956E0" X-Trace: sea.gmane.org 1112658186 2977 80.91.229.2 (4 Apr 2005 23:43:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Apr 2005 23:43:06 +0000 (UTC) Original-X-From: supervision-return-987-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Apr 05 01:43:03 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14] ident=qmailr) by ciao.gmane.org with smtp (Exim 4.43) id 1DIbD9-0005fY-P8 for gcsg-supervision@gmane.org; Tue, 05 Apr 2005 01:42:27 +0200 Original-Received: (qmail 24434 invoked by uid 76); 4 Apr 2005 23:44:41 -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 24428 invoked from network); 4 Apr 2005 23:44:41 -0000 Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:751 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:751 This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C53936.309956E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have just installed runit in my lfs system and I am so grateful to be = able to simplify managing services. 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. 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)? I also will be setting up different service configurations, which I = suppose are like runlevels. But the description of using runsvchdir = shows the svdirs (current, previous, etc) back in /etc rather than /var. = This confuses me. Perhaps someone could explain how they organize = their service directories, svdir directories and run scripts. Gregg Howe ------=_NextPart_000_0007_01C53936.309956E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have just installed runit in my lfs = system and I=20 am so grateful to be able to simplify managing services.
 
However, I am undecided as to how = to organize=20 the service file directories and I am wondering what works for = others.  And=20 whether anyone cares about whether or how the runit file=20 organization should fit into the Linux FHS.
 
Ordinarily, I would have service start = and finish=20 scripts in /etc, yet the service hierarchy also contains pipes, flags, = pid=20 files, etc which seem more appropriate in /var.  Or is this the = kind of=20 information that is destined for /svc (I am not really sure what /svc is = for)?
 
I also will be setting up = different service=20 configurations, which I suppose are like runlevels.  But the = description of=20 using runsvchdir shows the svdirs (current, previous, etc) back in = /etc=20 rather than /var.  This confuses me.  Perhaps someone could = explain=20 how they organize their service directories, svdir directories and run=20 scripts.
 
Gregg = Howe
------=_NextPart_000_0007_01C53936.309956E0--