supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Joshua N Pritikin <jpritikin@pobox.com>
Subject: Re: service definition vs service activation
Date: Tue, 7 Mar 2006 19:00:10 +0530	[thread overview]
Message-ID: <20060307133010.GC6346@always.joy.eth.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1512 bytes --]

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. 

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 
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?  ;-)

-- 
Make April 15 just another day, visit http://fairtax.org

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2006-03-07 13:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-07 13:30 Joshua N Pritikin [this message]
2006-03-07 17:46 ` Joshua N Pritikin
  -- strict thread matches above, loose matches on Subject: below --
2006-03-06 16:05 runit-1.4.0 available Gerrit Pape
2006-03-06 19:13 ` service definition vs service activation Wayne Marshall
2006-03-06 21:54   ` Gilles
2006-03-07  5:21     ` Joshua N Pritikin
2006-03-07 18:35   ` Alex Efros
2006-03-08  5:18     ` Joshua N Pritikin
2006-03-16 10:46     ` Gerrit Pape
2006-03-08 15:40   ` Christian Holtje
2006-03-08 16:04     ` Joshua N Pritikin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060307133010.GC6346@always.joy.eth.net \
    --to=jpritikin@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).