view contrib/make_flys_release/bin/run.sh @ 5268:df7028d0cb93

Add LOG_DIR to make release to configure a logging directory. And configure this directory also in the mapfile templates. Default: /var/log/flys
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 13 Mar 2013 11:23:08 +0100
parents 7e82d51c5a27
children 28e3019a6b14
line wrap: on
line source
#!/bin/bash

APP=de.intevation.artifactdatabase.App

DIR=`dirname $0`/..
DIR=`readlink -f "$DIR"`

CLASSPATH=
for l in `find "$DIR/bin/lib" -name \*.jar -print`; do
   CLASSPATH=$CLASSPATH:$l
done

export CLASSPATH

exec java -Xmx256m \
     -server \
     -Djava.awt.headless=true \
     -Dflys.datacage.recommendations.development=false \
     -Djava.io.tmpdir="$DIR/cache" \
     -Dflys.backend.enablejmx=true \
     -Dflys.uesk.keep.artifactsdir=false \
     -Dwsplgen.bin.path="$DIR/bin/wsplgen.exe" \
     -Dwsplgen.log.output=false \
     -Dartifact.database.dir="$DIR/conf" \
     $APP

http://dive4elements.wald.intevation.org