run on centos6
[mkws-moved-to-github.git] / test / bin / apache-template-update
index b346dbb..4f37a41 100755 (executable)
@@ -11,6 +11,7 @@ export APACHE_RUN_GROUP=$(groups | awk '{ print $1 }')
 
 export APACHE_LOG_DIR=$APACHE_SERVER_ROOT/logs
 export APACHE_PID_FILE=$APACHE_LOG_DIR/mkws-jasmine.pid
+export APACHE_LOCK_FILE=$APACHE_LOG_DIR/accept.lock
 export APACHE_PORT=4040
 
 export MKWS_ROOT=$(pwd)/..
@@ -22,6 +23,9 @@ case $(uname) in
           if [ -e /etc/debian_version ]; then
                MKWS_OS=debian  
           fi
+          if [ -e /etc/redhat-release ]; then
+               MKWS_OS=centos  
+          fi
           ;;
   * ) MKWS_OS=debian ;;
 esac