Gentoo Archives: gentoo-user

From: Damian <damian.only@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Adding dependencies in init scripts
Date: Thu, 11 Feb 2010 12:15:40
Message-Id: 47a330c51002110415v4f3cdebevb33ee3c5519ed5@mail.gmail.com
In Reply to: Re: [gentoo-user] Adding dependencies in init scripts by Dale
1 On Thu, Feb 11, 2010 at 11:21 AM, Dale <rdalek1967@×××××.com> wrote:
2 > chrome://messenger/locale/messengercompose/composeMsgs.properties:
3 >>
4 >> Hello,
5 >>
6 >> I would like to configure my system so that every time I start mpd
7 >> (via /etc/init.d/mpd)  mpdscrible is started as well. What is the best
8 >> way to achieve this?
9 >>
10 >> Thanks in advance,
11 >> Damian.
12 >>
13 >>
14 >>
15 >
16 > I found this by looking in the cups init script.  It should help.
17 >
18 > depend() {
19 >    use net
20 >    need avahi-daemon dbus
21 >    before nfs
22 >    after logger
23 > }
24 Thanks Dale.
25
26 I've tried putting "after mpdscribble" without success. Also the
27 problem with this approach is that if I update mpd, I will have to
28 modify the init script again.

Replies

Subject Author
Re: [gentoo-user] Adding dependencies in init scripts Dale <rdalek1967@×××××.com>
Re: [gentoo-user] Adding dependencies in init scripts Neil Bothwick <neil@××××××××××.uk>