From owner-freebsd-questions@FreeBSD.ORG Mon Dec 27 13:21:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8FF41065673 for ; Mon, 27 Dec 2010 13:21:48 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 399198FC1C for ; Mon, 27 Dec 2010 13:21:47 +0000 (UTC) Received: by wyf19 with SMTP id 19so8409843wyf.13 for ; Mon, 27 Dec 2010 05:21:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=VO3TzTUoxiArrladycACm0Mupa9JYwc1msB0m6Fz/Bs=; b=IuzV3iI/m0t9g/aD6kvg3ipLTOkjxUj2D+r5SAd68ONoBctqdxOIm9vKKTGzVXkIhy SAL82xVR98/QFRSAWKm+ljdj9nEmSQgaCMlrDQfn9olfiU7u6pCcsJvX2UdvoE66GIKv tjEN9h0zyr/nzwDmecaEqkpl2CZRCA1FoHDqw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=H0p9a2pnzcT+5SFxd2wBy9XVQdJ3sHr8TJ0Lk/tkjYvzVWNoX1mpf6fhzN6fEuF2LT bMhAmKx2vKnXGvgFe5JH7+8RW6rS6RJ36w4X41S6skWQMLU1NNcrd8JCYw481v646Qm9 cAmVnVojrvMjvq5w1WYzkO22UtGHVE+bbNRv0= Received: by 10.216.87.131 with SMTP id y3mr17634233wee.3.1293456107038; Mon, 27 Dec 2010 05:21:47 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id m50sm5904452wek.8.2010.12.27.05.21.45 (version=SSLv3 cipher=RC4-MD5); Mon, 27 Dec 2010 05:21:46 -0800 (PST) Date: Mon, 27 Dec 2010 13:21:43 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20101227132143.707caca3@gumby.homeunix.com> In-Reply-To: References: <20101227071218.9b7ad3f2.freebsd@edvax.de> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: rcorder X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2010 13:21:48 -0000 On Mon, 27 Dec 2010 07:50:20 -0500 Nu 2 Da Boro 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.