supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* /etc/sv vs /etc/runit vs /var/service
@ 2006-06-29 12:43 Lars Kellogg-Stedman
  2006-06-30  8:06 ` Gerrit Pape
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Kellogg-Stedman @ 2006-06-29 12:43 UTC (permalink / raw)


Hi there,

After reading through the docs for runit 1.6, I'm looking for some
thoughts on how /etc/sv relates to /var/service and
/etc/runit/runsvdir/current (the former the default for 'sv', the
latter the default for 'runsvchdir').

As best as I can figure, /var/service should be a symlink to
/etc/runit/runsvdir/current, and nothing really looks at /etc/sv -- so
it might just as well be something like /etc/runit/runsvdir/available
(with symlinks from current to ../available/<service> for those
services we want active).

Thanks for your comments,

-- Lars

-- 
Lars Kellogg-Stedman <lars@oddbit.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: /etc/sv vs /etc/runit vs /var/service
  2006-06-29 12:43 /etc/sv vs /etc/runit vs /var/service Lars Kellogg-Stedman
@ 2006-06-30  8:06 ` Gerrit Pape
  0 siblings, 0 replies; 2+ messages in thread
From: Gerrit Pape @ 2006-06-30  8:06 UTC (permalink / raw)


On Thu, Jun 29, 2006 at 08:43:00AM -0400, Lars Kellogg-Stedman wrote:
> After reading through the docs for runit 1.6, I'm looking for some
> thoughts on how /etc/sv relates to /var/service and
> /etc/runit/runsvdir/current (the former the default for 'sv', the
> latter the default for 'runsvchdir').
> 
> As best as I can figure, /var/service should be a symlink to
> /etc/runit/runsvdir/current, and nothing really looks at /etc/sv -- so

Yes, this is documented in
 http://smarden.org/runit/runlevels.html#prepare

Note, this is optional.

> it might just as well be something like /etc/runit/runsvdir/available
> (with symlinks from current to ../available/<service> for those
> services we want active).

Sure, it might also be /my/collection/of/service/directories/.  I chose
/etc/sv/ though.

Regards, Gerrit.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-30  8:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-29 12:43 /etc/sv vs /etc/runit vs /var/service Lars Kellogg-Stedman
2006-06-30  8:06 ` Gerrit Pape

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).