Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] rfc: runlevels in runit or a single service directory
Date: Mon, 10 Nov 2014 21:14:43
Message-Id: 20141110211431.GA5992@linux1
1 All,
2
3 I have been working on the version bump for sys-process/runit [1].
4
5 Service directories will be stored in /etc/sv; think of this as being
6 like /etc/init.d.
7
8 Once this is done, there are two suggested ways of linking to the
9 service directories you want to monitor.
10
11 The first is to make a directory, /etc/service, which contains symlinks
12 to all of the services you want to monitor.
13
14 The second way is to build a structure under /etc/runit/runsvdir that
15 contains multiple runlevels and link /etc/service to that structure [2].
16
17 All of this is completely reconfigurable by the user; I'm just wondering
18 what the default should be.
19
20 We are using method 2 currently, but with only one runlevel by default,
21 so my thought is we should go to method one by default and point people
22 to the documentation if they want to change it.
23
24 Another reason I am suggesting method one by default is it will make
25 things easier if people want to run runit as a supervisor under another
26 init system.
27
28 Does anyone have any comments on that approach?
29
30 Thanks,
31
32 William
33
34 [1] https://bugs.gentoo.org/show_bug.cgi?id=522786
35 [2] http://www.smarden.org/runit/runlevels.html

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] rfc: runlevels in runit or a single service directory Peter Stuge <peter@×××××.se>