Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Adding dependencies in init scripts
Date: Thu, 11 Feb 2010 12:39:54
Message-Id: 4B73FA75.30803@gmail.com
In Reply to: Re: [gentoo-user] Adding dependencies in init scripts by Damian
1 chrome://messenger/locale/messengercompose/composeMsgs.properties:
2 > On Thu, Feb 11, 2010 at 11:21 AM, Dale<rdalek1967@×××××.com> wrote:
3 >
4 >> chrome://messenger/locale/messengercompose/composeMsgs.properties:
5 >>
6 >>> Hello,
7 >>>
8 >>> I would like to configure my system so that every time I start mpd
9 >>> (via /etc/init.d/mpd) mpdscrible is started as well. What is the best
10 >>> way to achieve this?
11 >>>
12 >>> Thanks in advance,
13 >>> Damian.
14 >>>
15 >>>
16 >>>
17 >>>
18 >> I found this by looking in the cups init script. It should help.
19 >>
20 >> depend() {
21 >> use net
22 >> need avahi-daemon dbus
23 >> before nfs
24 >> after logger
25 >> }
26 >>
27 > Thanks Dale.
28 >
29 > I've tried putting "after mpdscribble" without success. Also the
30 > problem with this approach is that if I update mpd, I will have to
31 > modify the init script again.
32 >
33 >
34 >
35
36 It will likely overwrite your changes but I have no other ideas on how
37 to do this. I would imagine that the script is the only thing that can
38 do it since it is what starts/stops the service.
39
40 Maybe someone else will have a idea.
41
42 Dale
43
44 :-) :-)