|
From: Heiko Z. <smi...@us...> - 2006-03-10 01:44:57
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7826/scripts Modified Files: Tag: rel-1-2-patches heartbeat Log Message: - corrected ldirector startup - updated heartbeat init script Index: heartbeat =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/heartbeat,v retrieving revision 1.3.2.4 retrieving revision 1.3.2.5 diff -u -d -r1.3.2.4 -r1.3.2.5 --- heartbeat 15 Jan 2006 02:06:56 -0000 1.3.2.4 +++ heartbeat 10 Mar 2006 01:44:52 -0000 1.3.2.5 @@ -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 ;; |