Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2007 10:20:15 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Bill Milford <freebsd@milfordmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Failover-HA-Setup
Message-ID:  <45AE68DF.5010700@FreeBSD.org>
In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAE09%2B/5QgBZBvgbigfttNszCgAAAEAAAAKqgNmKe9jZJqVaT8G8LCA8BAAAAAA==@milfordmail.com>
References:  <1169038057.23831.24.camel@richard02><20070117142552.GC1225@dkirhlarov.mow.oilspace.com>	<1169044590.23831.38.camel@richard02> <!&!AAAAAAAAAAAYAAAAAAAAAE09%2B/5QgBZBvgbigfttNszCgAAAEAAAAKqgNmKe9jZJqVaT8G8LCA8BAAAAAA==@milfordmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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