In response to Vladimir Botka <[EMAIL PROTECTED]>: > Richard píše v st 17. 01. 2007 v 13:47 +0100: > > Hi there! > > > > I am looking for a solution for a small problem regarding a high > > availability setup. > > I am running heartbeat on a STABLE-system, the failover works fine for > > IP-adresses and I am able to see that a > > '/usr/local/etc/rc.d/mysql-server start' statement is issued. BUT since > > the variables for mysql are not set in rc.conf (Otherwise it would be > > started at startup), it isn't starting at all. > > > > So my question: How to set those rc.conf-variables in order to start > > services in such an setup? Or is there a better solution? > > Hello, > just modify the /usr/local/etc/rc.d/mysql-server script. > Cheers, -vlado
Then have to fsck around with diffs at every upgrade? Not the approach I would take. And please don't top-post. I don't remember the details of how heartbeat works, but you should be able to set the required variables and export them into the environment prior to calling the mysql-server script. If not, just create a wrapper script that sets the required variables then calls the rc script. -- Bill Moran Collaborative Fusion Inc. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"