Changeset 838

Show
Ignore:
Timestamp:
25-08-10 16:58:44 (4 years ago)
Author:
duh
Message:

tweaked gscf continous integration script

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • misc/scripts/gscf_continuous_integration.sh

    r837 r838  
    3636        TOMCAT_STOP="sudo /etc/init.d/tomcat-6 stop" 
    3737        TOMCAT_START="sudo /etc/init.d/tomcat-6 start" 
     38        APACHE_RESTART="sudo /etc/init.d/apache2 graceful" 
    3839elif [ -f /etc/debian_version ]; then 
    3940        # DEBIAN 
     
    4546        TOMCAT_STOP="/home/tomcat/apache-tomcat/bin/shutdown.sh" 
    4647        TOMCAT_START="/home/tomcat/apache-tomcat/bin/startup.sh" 
     48        APACHE_RESTART="sudo /etc/init.d/apache2 restart" 
    4749else 
    4850        echo Could not determine platform.... 
     
    217219#  -somehow- make the sudo commands fail) 
    218220echo $STAMP reloading Apache 
    219 sudo /etc/init.d/apache2 graceful > /dev/null 
     221$APACHE_RESTART > /dev/null 2>&1 
    220222 
    221223# update revision file