public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] rfc: runlevels in runit or a single service directory
@ 2014-11-10 21:14 William Hubbs
  2014-11-10 21:17 ` Peter Stuge
  0 siblings, 1 reply; 2+ messages in thread
From: William Hubbs @ 2014-11-10 21:14 UTC (permalink / raw
  To: gentoo development

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

All,

I have been working on the version bump for sys-process/runit [1].

Service directories will be stored in /etc/sv; think of this as being
like /etc/init.d.

Once this is done, there are two suggested ways of linking to the
service directories you want to monitor.

The first is to make a directory, /etc/service, which contains symlinks
to all of the services you want to monitor.

The second way is to build a structure under /etc/runit/runsvdir that
contains multiple runlevels and link /etc/service to that structure [2].

All of this is completely reconfigurable by the user; I'm just wondering
what the default should be.

We are using method 2 currently, but with only one runlevel by default,
so my thought is we should go to method one by default and point people
to the documentation if they want to change it.

Another reason I am suggesting method one by default is it will make
things easier if people want to run runit as a supervisor under another
init system.

Does anyone have any comments on that approach?

Thanks,

William

[1] https://bugs.gentoo.org/show_bug.cgi?id=522786
[2] http://www.smarden.org/runit/runlevels.html

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

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

* Re: [gentoo-dev] rfc: runlevels in runit or a single service directory
  2014-11-10 21:14 [gentoo-dev] rfc: runlevels in runit or a single service directory William Hubbs
@ 2014-11-10 21:17 ` Peter Stuge
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stuge @ 2014-11-10 21:17 UTC (permalink / raw
  To: gentoo-dev

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

William Hubbs wrote:
> I'm just wondering what the default should be.
..
> Does anyone have any comments on that approach?

I think the Gentoo default should just be what upstream uses and
documents.


//Peter

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

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

end of thread, other threads:[~2014-11-10 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-10 21:14 [gentoo-dev] rfc: runlevels in runit or a single service directory William Hubbs
2014-11-10 21:17 ` Peter Stuge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox