geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r700289 - in /geronimo/sandbox: djencks/assemblies/controller-as-repo/ djencks/assemblies/geronimo-tomcat-farm-controller/ failover/controller-as-repo/ failover/cycleservers.sh failover/geronimo-tomcat-farm-controller/
Date Mon, 29 Sep 2008 22:29:01 GMT
Author: djencks
Date: Mon Sep 29 15:28:59 2008
New Revision: 700289

URL: http://svn.apache.org/viewvc?rev=700289&view=rev
Log:
Move supporting projects to new failover location

Added:
    geronimo/sandbox/failover/controller-as-repo/
      - copied from r700240, geronimo/sandbox/djencks/assemblies/controller-as-repo/
    geronimo/sandbox/failover/geronimo-tomcat-farm-controller/
      - copied from r700240, geronimo/sandbox/djencks/assemblies/geronimo-tomcat-farm-controller/
Removed:
    geronimo/sandbox/djencks/assemblies/controller-as-repo/
    geronimo/sandbox/djencks/assemblies/geronimo-tomcat-farm-controller/
Modified:
    geronimo/sandbox/failover/cycleservers.sh

Modified: geronimo/sandbox/failover/cycleservers.sh
URL: http://svn.apache.org/viewvc/geronimo/sandbox/failover/cycleservers.sh?rev=700289&r1=700288&r2=700289&view=diff
==============================================================================
--- geronimo/sandbox/failover/cycleservers.sh (original)
+++ geronimo/sandbox/failover/cycleservers.sh Mon Sep 29 15:28:59 2008
@@ -6,7 +6,7 @@
     ./bin/gsh geronimo/start-server -s ${server} -G config.substitution.PortOffset=${s}0
&> ${s}.log 
 }
 
-e(cd geronimo-plugin-farm-node-2.2-SNAPSHOT
+(cd geronimo-plugin-farm-node-2.2-SNAPSHOT
 
 while true; do
 
@@ -26,6 +26,14 @@
 
     sleep 10
 
+
+    if  [ "$1" = "newserver" ] ; then
+      echo "creating new server $server"
+      rm -rf $server
+      mkdir $server
+      cp -r var $server/
+    fi
+
     s=${server/server/}
     echo "Starting $server id $s"
     start &> /dev/null &



Mime
View raw message