|
From: Heiko Z. <smi...@us...> - 2006-03-10 01:46:08
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8629/scripts Modified Files: heartbeat Log Message: - corrected ldirector startup - updated heartbeat init script Index: heartbeat =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/heartbeat,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- heartbeat 15 Jan 2006 02:08:51 -0000 1.7 +++ heartbeat 10 Mar 2006 01:46:03 -0000 1.8 @@ -48,6 +48,7 @@ copy_files $TMPDIR/usr $CDDIR/ || exit 1 copy_files $TMPDIR/var $CDDIR/ || exit 1 copy_files $TMPDIR/etc $ETCDIR/ || exit 1 + cp -dpv ldirectord/ldirectord.cf $ETCDIR/etc/ha.d/ || exit 1 useradd -s /bin/false -u 50 hacluster groupadd -f -g 50 haclient @@ -60,6 +61,12 @@ echo "START_$MYNAME=no" >> $CONFIGFILE echo >> $CONFIGFILE echo "HELP_$MYNAME=\"$MYNAME is to control failover servers\"" >> $SOFTWAREHELP + + MYNAME=LDIRECTORD + echo "# Start $MYNAME?" >> $CONFIGFILE + echo "START_$MYNAME=no" >> $CONFIGFILE + echo >> $CONFIGFILE + echo "HELP_$MYNAME=\"$MYNAME is to monitor remote servers (works with heartbeat)\"" >> $SOFTWAREHELP fi ;; |