Failover-HA-Setup
Doug Barton
dougb at FreeBSD.org
Wed Jan 17 18:20:20 UTC 2007
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
More information about the freebsd-stable
mailing list