Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: Gentoo-Dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] rcscripts
Date: Sun, 23 Dec 2001 17:38:45
Message-Id: 1009150529.475.13.camel@nosferatu.lan
In Reply to: Re: [gentoo-dev] rcscripts by Sebastian Werner
1 On Mon, 2001-12-24 at 01:20, Sebastian Werner wrote:
2 > Is this documented anywhere? I have always add the .net-services to default... mhh.
3 >
4 > But i don't like to manually put them in the local script. I think they must be started like any other script in /etc/init.d
5 >
6 > And why depends samba, apache and so on on a active network-device? I think net.lo must be ok for these scripts - or?
7 >
8
9 As far as I know, it is because some services checks what
10 interfaces is up on startup, and binds to them. If you
11 up anything else afterwards, they do not bind to them, except
12 when restarting the service. bind is an example if I am not
13 mistaken.
14
15 Just thought of it, but maybe a better way of doing it, is
16 that when stopping a net.* service, check if any other net.*
17 services is up, and if so, restart those that depends on
18 'net', else just stop them.
19
20 Daniel?
21
22
23 Greetings,
24 --
25
26 Martin Schlemmer
27 Gentoo Linux Developer, Desktop Team Developer
28 Cape Town, South Africa

Replies

Subject Author
Re: [gentoo-dev] rcscripts ... developer comments ? Martin Schlemmer <azarah@g.o>