Re: [gentoo-user] Adding dependencies in init scripts

2010-03-07 Thread Damian
On Sun, Feb 14, 2010 at 7:46 PM, Damian damian.o...@gmail.com wrote: On Sun, Feb 14, 2010 at 6:00 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Sonntag 14 Februar 2010 16:48:00 schrieb Stroller: Is it possible that you Dirk are using different versions of baselayout? Yes, I am

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Dirk Heinrichs
Am Sonntag 14 Februar 2010 02:51:57 schrieb Damian: On Sun, Feb 14, 2010 at 2:25 AM, Damian damian.o...@gmail.com wrote: HTH... Dirk Thanks a lot for your responses. That looks just like what I needed. Ok, I just cannot make this work. I've created a file /etc/conf.d/mpd

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Damian
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

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Willie Wong
Damian: On Sun, Feb 14, 2010 at 12:56:14PM +0100, Damian wrote: 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.

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Damian
I am getting rather confused by this back and forth (I thought I understood what you wanted and Dirk and other's answers should be right, but now I am not so sure). Can you answer the following for me just to make sure we are on the same page? Sure, I'm sorry for the confusion. (a) What is

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Stroller
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

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Willie Wong
On Sun, Feb 14, 2010 at 03:54:10PM +0100, Damian wrote: (d) What versions of openrc and baselayout are you using? openrc is not installed, and the baselayout version is 1.12.13. I am thinking that Dirk's advice maybe OpenRC/baselayout2 specific. Which is perhaps why those configuration

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Dirk Heinrichs
Am Sonntag 14 Februar 2010 12:56:14 schrieb Damian: 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. Well, then don't put it in any runlevel, but if you start the

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Dirk Heinrichs
Am Sonntag 14 Februar 2010 16:48:00 schrieb Stroller: Is it possible that you Dirk are using different versions of baselayout? Yes, I am running OpenRC/BL2. I didn't even think for a second that somebody could still be using BL1, sorry for that ;) Bye... Dirk

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Damian
On Sun, Feb 14, 2010 at 6:00 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Sonntag 14 Februar 2010 16:48:00 schrieb Stroller: Is it possible that you Dirk are using different versions of baselayout? Yes, I am running OpenRC/BL2. I didn't even think for a second that somebody could

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Marc Joliet
Am Sun, 14 Feb 2010 15:54:10 +0100 schrieb Damian damian.o...@gmail.com: (d) What versions of openrc and baselayout are you using? openrc is not installed, and the baselayout version is 1.12.13. As Willie Wong mentioned, that ought to explain it. The features Dirk was referring to are AFAIK

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-13 Thread Damian
HTH...        Dirk Thanks a lot for your responses. That looks just like what I needed.

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-13 Thread Damian
On Sun, Feb 14, 2010 at 2:25 AM, Damian damian.o...@gmail.com wrote: HTH...        Dirk Thanks a lot for your responses. That looks just like what I needed. Ok, I just cannot make this work. I've created a file /etc/conf.d/mpd with the following line rc_after=mpdscrible But the init script

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread Dale
chrome://messenger/locale/messengercompose/composeMsgs.properties: Hello, I would like to configure my system so that every time I start mpd (via /etc/init.d/mpd) mpdscrible is started as well. What is the best way to achieve this? Thanks in advance, Damian. I found this by looking in

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread Damian
On Thu, Feb 11, 2010 at 11:21 AM, Dale rdalek1...@gmail.com wrote: chrome://messenger/locale/messengercompose/composeMsgs.properties: Hello, I would like to configure my system so that every time I start mpd (via /etc/init.d/mpd)  mpdscrible is started as well. What is the best way to

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread Dale
chrome://messenger/locale/messengercompose/composeMsgs.properties: On Thu, Feb 11, 2010 at 11:21 AM, Dalerdalek1...@gmail.com wrote: chrome://messenger/locale/messengercompose/composeMsgs.properties: Hello, I would like to configure my system so that every time I start mpd (via

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 13:15:04 +0100, Damian wrote: I found this by looking in the cups init script.  It should help. depend() {    use net    need avahi-daemon dbus    before nfs    after logger } I've tried putting after mpdscribble without success. Also the problem with

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread heini
Am Donnerstag 11 Februar 2010 18:00:09 schrieb Neil Bothwick: On Thu, 11 Feb 2010 13:15:04 +0100, Damian wrote: I found this by looking in the cups init script. It should help. depend() { use net need avahi-daemon dbus before nfs after logger } I've

Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 22:22:50 +0100, heini wrote: Or you could remove mpd from the default runlevel and call both the init scripts from /etc/conf.d/local. Nope. Lookup /etc/rc.conf: I'd forgotten all about that, nice one! -- Neil Bothwick First Law of Laboratory Work: Hot glass looks