Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] In which order services are started?
Date: Wed, 21 Apr 2010 08:04:42
Message-Id: 20100421090427.2ddbf7df@digimed.co.uk
In Reply to: Re: [gentoo-user] In which order services are started? by Peter Humphrey
1 On Wed, 21 Apr 2010 01:01:00 +0100, Peter Humphrey wrote:
2
3 > > > Is there any way to find out in which order services are
4 > > > started during boot-up (except for looking at boot-up
5 > > > screen and making notes)?
6 > >
7 > > You could turn on boot logging in rc.conf and look at
8 > > /var/log/rc.log.
9 >
10 > I think Jarry wanted to know what to tweak to change the order. I
11 > wanted to know this as well not long ago, but I didn't have the energy
12 > to chase it. (I wanted gpm to be started earlier in the sequence but
13 > without putting it in the boot run level.)
14
15 If he did, that's not what he asked. You change the order by adding
16 before/after statements to the scripts in /etc/init.d. I believe with
17 openrc you can have a similar effect by setting rc_after or rc_before in
18 the corresponding file in /etc/conf.d. I've never tried this but it is
19 documented in /etc/rc.conf.
20
21
22 --
23 Neil Bothwick
24
25 IBM: Itty Bitty Mentality

Attachments

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