Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Runlevels, ordering initscripts and running them in background
Date: Sun, 20 May 2012 20:23:30
Message-Id: 20120520212044.4b589eee@digimed.co.uk
In Reply to: Re: [gentoo-user] Runlevels, ordering initscripts and running them in background by Joost Roeleveld
1 On Sun, 20 May 2012 19:59:40 +0200, Joost Roeleveld wrote:
2
3 > > To have bitlbee start after xdm either add
4 > >
5 > > rc_after="xdm"
6 > >
7 > > to /etc/conf.d/bitlbee or put
8 > >
9 > > rc_bitlbee_after="xdm"
10 > >
11 > > in /etc/rc.conf. Both have the same effect, it depends on whether you
12 > > want to put all these settings together or in the individual services'
13 > > config files.
14 >
15 > Putting them in /etc/rc.conf makes it simpler to maintain the
16 > init-scripts when updating packages.
17 > I used to put these things in the init-scripts and occasionally forgot
18 > about some of these during an update.
19
20 Don't put them in the init scripts, those are overwritten during an
21 update, either rc.conf or the config files in /etc/conf.d.
22
23 If you want to arrange the order of several items, rc.conf is the logical
24 place, but if you just want to make sure service A starts before service
25 B, /etc/conf.d/[AB] is more sensible IMO.
26
27
28 --
29 Neil Bothwick
30
31 Press every key to continue.

Attachments

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