[Ultrapossum-cvs 1228] ultrapossum/module/failover ...

Back to archive index

Masato Taruishi taru****@users*****
2005年 2月 21日 (月) 13:23:10 JST


===================================================================
RCS file: ultrapossum/module/failover/10clsfailover,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- ultrapossum/module/failover/10clsfailover	2004/10/11 11:13:57	1.2
+++ ultrapossum/module/failover/10clsfailover	2005/02/21 04:23:10	1.2.2.1
@@ -51,6 +51,6 @@
 ) || exit 1
 date
 
-$MODULEDIR/server/startup start
+$MODULEDIR/server/startup start 2>&1 || true
 
 exit $OK
===================================================================
RCS file: ultrapossum/module/failover/11recovery,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- ultrapossum/module/failover/11recovery	2004/10/14 09:50:46	1.2
+++ ultrapossum/module/failover/11recovery	2005/02/21 04:23:10	1.2.2.1
@@ -19,7 +19,7 @@
 
 set -e 
 
-if test "x$BACKUP" = "x"; then
+if test "x$BACKUP" = "x" || ! include "$BACKUP" "$SLURPDSLAVES"; then
   echo "Ignoring $0 for failover"
   exit $IGNORE
 fi
@@ -79,7 +79,6 @@
 # Failback
 
 $MODULEDIR/server/startup start
-
 
 # Now we check for the slurpd.status file handling
 



Ultrapossum-cvs メーリングリストの案内
Back to archive index