X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=test%2Fbin%2Fapache-template-update;h=db0c6e5c226bc08d57b4b25f4a42c0c82d6cea3b;hp=29024ab32819d0ea98ca67f3616f43f4f61d5aad;hb=71a3bc5e72fdcf2a51c3d32f10b8248c0ac5399c;hpb=ab6a0a1ccd6a62f0a22e9528d99090b1a5631f27 diff --git a/test/bin/apache-template-update b/test/bin/apache-template-update index 29024ab..db0c6e5 100755 --- a/test/bin/apache-template-update +++ b/test/bin/apache-template-update @@ -9,11 +9,12 @@ export APACHE_SERVER_ROOT=$(pwd) export APACHE_RUN_USER=$(whoami) 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 : ${APACHE_PORT=4040}; export APACHE_PORT +export APACHE_LOG_DIR=$APACHE_SERVER_ROOT/logs +export APACHE_PID_FILE=$APACHE_LOG_DIR/mkws-jasmine-${APACHE_PORT}.pid +export APACHE_LOCK_FILE=$APACHE_LOG_DIR/accept-${APACHE_PORT}.lock + export MKWS_ROOT=$(pwd)/.. MKWS_OS=debian @@ -47,7 +48,7 @@ else APACHE_MODULES="$MKWS_ROOT/tools/apache2/jasmine-dev.apache-modules.$MKWS_OS.conf" fi -: ${MKWS_APACHE_FILE="$APACHE_LOG_DIR/jasmine-dev"} +: ${MKWS_APACHE_FILE="$APACHE_LOG_DIR/jasmine-dev-${APACHE_PORT}.conf"} export APACHE_MODULES perl -npe 's,\${(.*?)},$ENV{$1},g; ' $MKWS_APACHE_TEMPLATE > $MKWS_APACHE_FILE.tmp