From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1061 Path: news.gmane.org!not-for-mail From: Joshua N Pritikin Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: service definition vs service activation Date: Tue, 7 Mar 2006 19:00:10 +0530 Message-ID: <20060307133010.GC6346@always.joy.eth.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Wo0oCZYLrer5S3Oe" X-Trace: sea.gmane.org 1141737680 21960 80.91.229.2 (7 Mar 2006 13:21:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Mar 2006 13:21:20 +0000 (UTC) Original-X-From: supervision-return-1297-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Mar 07 14:21:15 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 1FGc7Z-00080n-11 for gcsg-supervision@gmane.org; Tue, 07 Mar 2006 14:21:01 +0100 Original-Received: (qmail 28989 invoked by uid 76); 7 Mar 2006 13:21:21 -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 28983 invoked from network); 7 Mar 2006 13:21:20 -0000 Original-To: supervision@list.skarnet.org Content-Disposition: inline X-PGP-Key: 06E3 3D22 D307 AAE6 ACB4 6B44 A9CA A794 A4A6 0BBD User-Agent: Mutt/1.5.4i Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1061 Archived-At: --Wo0oCZYLrer5S3Oe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable One further thought-- Wayne Marshall wrote: > For the purposes of consistency and making an explicit distinction > between definition and activation, my installations and documentation > are now standardized on the use of /var/service.d as the service > definition directory for all runit services. Then /var/service > continues its role as the primary service activation directory.=20 This choice is madness since the two directories are so similarly named. Is there any reason not to use /etc/ for the activation directory? That's essentially what sysvinit does. I suggest /etc/sv as the activation directory (and perhaps "single" or=20 sv1 for single user mode) and somewhere under /var as the definition directory. Note that there may be various different definition directories. For example, /var/runit-services/ssh /var/runit-services/xdm /var/runit-services/...etc... /var/runit/local/remote-password-reset # site specific Hrm .. so I propose /var/runit as the definition tree. There could be various subdirectories for better organization. For example, bcron needs three services so: /var/runit/bcron/sched /var/runit/bcron/spool /var/runit/bcron/update This is an improvement on the current naming. And socklog fits into this scheme as well: /var/runit/socklog/unix /var/runit/socklog/klog /var/runit/socklog/inet /var/runit/socklog/ucspi-tcp Now, does everybody hate this idea? ;-) --=20 Make April 15 just another day, visit http://fairtax.org --Wo0oCZYLrer5S3Oe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFEDYriqcqnlKSmC70RArZeAKCU5PiKJmXPDeo4G2IfktIEVFZHfwCeOG5R T3i5a1piDBXKximG4NiiIPY= =Uebg -----END PGP SIGNATURE----- --Wo0oCZYLrer5S3Oe--