From owner-freebsd-stable@FreeBSD.ORG Wed Jan 17 18:20:19 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E113B16A40F for ; Wed, 17 Jan 2007 18:20:19 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 7DDF813C44B for ; Wed, 17 Jan 2007 18:20:19 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 9745 invoked by uid 399); 17 Jan 2007 18:20:19 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 17 Jan 2007 18:20:19 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45AE68DF.5010700@FreeBSD.org> Date: Wed, 17 Jan 2007 10:20:15 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Bill Milford References: <1169038057.23831.24.camel@richard02><20070117142552.GC1225@dkirhlarov.mow.oilspace.com> <1169044590.23831.38.camel@richard02> In-Reply-To: X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Failover-HA-Setup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 18:20:20 -0000 Bill Milford wrote: > You can modify the keyword section of the > /usr/local/etc/rc.d/mysql-server(.sh) and add "nostart" This > allows you to start it manually with > /usr/local/etc/rc.d/mysql-server start, but it will not start at > boot time as rcorder skips files with the nostart keyword. The > startup variable can then be in /etc/rc.conf There is no need to make any changes to the script. Put whatever other options you want for mysql in rc.conf, and set the _enable variable to no. Then you can run /usr/local/etc/rc.d/mysql-server onestart and it will start normally just one time. Doug -- This .signature sanitized for your protection