X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fbin%2Fapache-template-update;h=bf14cbde2ae253f046b7fca6abbc18395555adce;hb=25fc05e09abe4bdd0e0327f4870ca8aab4e97641;hp=fc95b00ee79e51a944ebc883e1a9fe75ffbb9747;hpb=ea0fe869ce52ffafe524d8a8c70ff8b725a45daa;p=mkws-moved-to-github.git diff --git a/test/bin/apache-template-update b/test/bin/apache-template-update index fc95b00..bf14cbd 100755 --- a/test/bin/apache-template-update +++ b/test/bin/apache-template-update @@ -12,7 +12,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 +: ${APACHE_PORT=4040}; export APACHE_PORT export MKWS_ROOT=$(pwd)/.. @@ -23,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