Richard wrote:

> If the variable mysql_enable is set in '/etc/rc.conf', mysql is started
> on both nodes at startup, it it is not there (and the passive node won't
> work due to the lack of mounted diskspace), heartbeat call
> '/usr/local/etc/rc.d/mysql-server start' and nothing happens. 

rc.conf is "sourced" by rc.subr. In other words, it's a shell script.
You can thus set it up so it sets some variables when called from
heartbeat and others when called by boot. For example, you can set an
environment variable by heartbeat (or by a script that heartbeat
calls...) and judge from that.

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to