Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2010 13:21:43 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: rcorder
Message-ID:  <20101227132143.707caca3@gumby.homeunix.com>
In-Reply-To: <AANLkTi=TtDgxwTSRnYS9Cxrh3toFg1GO5Tsf0mh0LCfv@mail.gmail.com>
References:  <AANLkTi=FJxrXgoxBxLdYfLGiouXbmfqkLiVoCO=FnXDh@mail.gmail.com> <20101227071218.9b7ad3f2.freebsd@edvax.de> <AANLkTi=TtDgxwTSRnYS9Cxrh3toFg1GO5Tsf0mh0LCfv@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Dec 2010 07:50:20 -0500
Nu 2 Da Boro <nu2daboro08@gmail.com> wrote:

> Thanks, but I'm still unable to get it to work... I'm trying to get
> barnyard2 to boot after mysql
> I placed mysql and/or mysql-server under PROVIDE and/or REQUIRE in
> rc.d/barnyard2. Then ran rcorder to show the correct setting and
> still no luck.

PROVIDE is what the the script provides (i.e. the name of the script
for ordering purposes), REQUIRE is the what needs to be run before the
current script and AFTER is what can't be run until the current script
completes.

Don't edit the files though, or you'll have to maintain them
indefinitely. Do it with an extra file as I suggested.

Afterwards run 

rcorder /etc/rc.d/* /usr/local/etc/rc.d/*

and check for any errors 

> I was able to uncomment REQUIRE and that produces an
> error which now causes barnyard2 to load after mysql. Funny how
> things work.

The ordering information is placed in comments at the top of the
script for rcorder to parse. If you uncomment them they become syntax
errors within the script. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101227132143.707caca3>