[Swift-commit] r5801 - trunk/bin

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Mon May 28 09:43:25 CDT 2012


Author: davidk
Date: 2012-05-28 09:43:25 -0500 (Mon, 28 May 2012)
New Revision: 5801

Modified:
   trunk/bin/start-coaster-service
Log:
Some fixes for remote gwms


Modified: trunk/bin/start-coaster-service
===================================================================
--- trunk/bin/start-coaster-service	2012-05-28 14:30:26 UTC (rev 5800)
+++ trunk/bin/start-coaster-service	2012-05-28 14:43:25 UTC (rev 5801)
@@ -304,10 +304,14 @@
       crash "CONDOR_WORKERS undefined - please check coaster-service.conf"
    fi
 
+   if [ -z "$WORKER_LOGGING_LEVEL" ]; then
+      WORKER_LOGGING_LEVEL=INFO
+   fi
+
    echo Starting workers   
    if [ -n "$WORKER_RELAY_HOST" ]; then
       ssh $WORKER_USERNAME@$WORKER_RELAY_HOST "mkdir -p condor"
-      ssh $WORKER_USERNAME@$WORKER_RELAY_HOST "run-gwms-workers $EXECUTION_URL $CONDOR_WORKERS" 
+      ssh $WORKER_USERNAME@$WORKER_RELAY_HOST "WORKER_INIT_CMD='$WORKER_INIT_CMD' WORKER_LOGGING_LEVEL=$WORKER_LOGGING_LEVEL run-gwms-workers $EXECUTION_URL $CONDOR_WORKERS" 
    else
       mkdir -p condor
       run-gwms-workers $EXECUTION_URL $CONDOR_WORKERS




More information about the Swift-commit mailing list