Show
Ignore:
Timestamp:
08/09/09 00:37:45 (3 years ago)
Author:
brent
Message:

Turn off second client by default.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • eduCommons.buildout/trunk/contrib/linux/init/educommons

    r562 r565  
    1515PROD_DIR=/opt/eduCommons-3.2.1 
    1616CLIENT1_PID=$PROD_DIR/var/instance1.pid 
    17 CLIENT2_PID=$PROD_DIR/var/instrance2.pid 
     17CLIENT2_PID=$PROD_DIR/var/instance2.pid 
    1818SERVER_PID=$PROD_DIR/var/ZEO.pid 
    1919CLIENT1=$PROD_DIR/bin/instance1 
     
    5050                RETVAL=$? 
    5151        fi 
    52         launch $CLIENT2_PID Client2 $CLIENT2 
    53         RESULT=$? 
    54         if [ $RESULT -ne 0 ]; then 
    55                 RETVAL=$? 
    56         fi 
     52#       launch $CLIENT2_PID Client2 $CLIENT2 
     53#       RESULT=$? 
     54#       if [ $RESULT -ne 0 ]; then 
     55#               RETVAL=$? 
     56#       fi 
    5757        return $RETVAL 
    5858} 
     
    6161        echo "Shutting down eduCommons Production Server: " 
    6262        RETVAL=0 
    63         $CLIENT2 "stop" 
    64         RESULT=$? 
    65         if [ $RESULT -ne 0 ]; then 
    66                 RETVAL=$? 
    67         fi 
     63#       $CLIENT2 "stop" 
     64#       RESULT=$? 
     65#       if [ $RESULT -ne 0 ]; then 
     66#               RETVAL=$? 
     67#       fi 
    6868        $CLIENT1 "stop" 
    6969        RESULT=$?