public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Damian <damian.only@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Adding dependencies in init scripts
Date: Sun, 14 Feb 2010 12:56:14 +0100	[thread overview]
Message-ID: <47a330c51002140356x1c154ee1ra910a95bf2a6040d@mail.gmail.com> (raw)
In-Reply-To: <201002141007.47890.dirk.heinrichs@online.de>

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.

>
> 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.



  reply	other threads:[~2010-02-14 11:58 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 [this message]
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
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=47a330c51002140356x1c154ee1ra910a95bf2a6040d@mail.gmail.com \
    --to=damian.only@gmail.com \
    --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