X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fbin%2Fapache-template-update;h=bf14cbde2ae253f046b7fca6abbc18395555adce;hb=46d2dc8b348888958550feab90da03afaf331d11;hp=b346dbb0fe9d2914ffeb4773d76622da3b86a7e9;hpb=4d4ad42a0066451c2a0d7bbeedb3a22bb879ea2f;p=mkws-moved-to-github.git diff --git a/test/bin/apache-template-update b/test/bin/apache-template-update index b346dbb..bf14cbd 100755 --- a/test/bin/apache-template-update +++ b/test/bin/apache-template-update @@ -11,7 +11,8 @@ 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_PORT=4040 +export APACHE_LOCK_FILE=$APACHE_LOG_DIR/accept.lock +: ${APACHE_PORT=4040}; export APACHE_PORT 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