[Swift-commit] r5158 - trunk/bin/grid

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Fri Sep 23 17:04:01 CDT 2011


Author: wilde
Date: 2011-09-23 17:04:00 -0500 (Fri, 23 Sep 2011)
New Revision: 5158

Modified:
   trunk/bin/grid/start-swift-service
Log:
Remove old port list files between retry attempts. Was causing lines with zeros in port lists from passes when some services had not yet created their sockets.

Modified: trunk/bin/grid/start-swift-service
===================================================================
--- trunk/bin/grid/start-swift-service	2011-09-22 20:46:29 UTC (rev 5157)
+++ trunk/bin/grid/start-swift-service	2011-09-23 22:04:00 UTC (rev 5158)
@@ -32,6 +32,7 @@
 for (( tries=0; tries < $maxtries; tries++ )); do
   sleep 1
   errors=0
+  rm service.sports service.wports
   for i in `seq -w 0 $((NSERVICES - 1))`; do
     if [ -s service-$i.sport -a -s service-$i.wport ]; then
       echo $(cat service-$i.sport) >> service.sports




More information about the Swift-commit mailing list