From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Adding dependencies in init scripts
Date: Sun, 14 Feb 2010 15:48:00 +0000 [thread overview]
Message-ID: <26A8F8DC-727F-403C-B73F-431B93407D7E@stellar.eclipse.co.uk> (raw)
In-Reply-To: <47a330c51002140356x1c154ee1ra910a95bf2a6040d@mail.gmail.com>
On 14 Feb 2010, at 11:56, Damian wrote:
> Hi Dirk,
>
>> In your first post you stated that you want to have both started,
>> right? But
>> "after" is about order, not dependency. I'd say you need to put
>>
>> rc_need="mpd"
>>
>> into /etc/conf.d/mpdscrible and put mpdscrible into default
>> runlevel, not mpd.
> I understand, but that isn't what I want, because when I boot up, I
> don't always start up mpd.
So don't put either of them into the default runlevel. The point is to
get one of them to start when the other does.
>> Maybe a combination of both
>>
>> rc_after="mpdscrible"
>> rc_need="mpdscrible"
>>
>> in /etc/conf.d/mpd could also work.
> That's the problem. No matter what I put in /etc/conf.d/mpd the init
> script seems to ignore it. Even if I write
> rc_need="more money"
> it will be ignored. Although the config file is read when I restart
> mpd.
Is it possible that you & Dirk are using different versions of
baselayout?
$ grep rc_need /etc/init.d/*
$ grep rc_need /etc/conf.d/*
$ eix -I baselayout
[I] sys-apps/baselayout
Available versions: [P]1.11.15-r3 1.12.11.1 ~1.12.12 1.12.13
~2.0.0 ~2.0.1 {bootstrap build static unicode}
Installed versions: 1.12.13(03:11:46 09/02/10)(unicode -
bootstrap -build -static)
Homepage: http://www.gentoo.org/
Description: Filesystem baselayout and init scripts
$
Stroller.
next prev parent reply other threads:[~2010-02-14 15:49 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-11 21:22 [gentoo-user] Adding dependencies in init scripts heini
2010-02-11 22:35 ` Neil Bothwick
2010-02-14 1:25 ` Damian
2010-02-14 1:51 ` Damian
2010-02-14 9:07 ` Dirk Heinrichs
2010-02-14 11:56 ` Damian
2010-02-14 14:06 ` Willie Wong
2010-02-14 14:54 ` Damian
2010-02-14 16:02 ` Willie Wong
2010-02-14 20:08 ` Marc Joliet
2010-02-14 15:48 ` Stroller [this message]
2010-02-14 17:00 ` Dirk Heinrichs
2010-02-14 18:46 ` Damian
2010-03-07 9:10 ` Damian
2010-02-14 16:56 ` Dirk Heinrichs
-- strict thread matches above, loose matches on Subject: below --
2010-02-11 9:55 Damian
2010-02-11 10:21 ` Dale
2010-02-11 12:15 ` Damian
2010-02-11 12:39 ` Dale
2010-02-11 17:00 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26A8F8DC-727F-403C-B73F-431B93407D7E@stellar.eclipse.co.uk \
--to=stroller@stellar.eclipse.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox