comparison artifacts/bin/run.sh @ 8511:522c46c53861

Put artifact server run-script in it's final place.
author "Tom Gottfried <tom@intevation.de>"
date Tue, 16 Dec 2014 17:54:55 +0100
parents
children 654aaa0d7576
comparison
equal deleted inserted replaced
8510:46221aff8989 8511:522c46c53861
1 #!/bin/bash
2
3 APP=org.dive4elements.artifactdatabase.App
4
5 DIR=`dirname $0`/..
6 DIR=`readlink -f "$DIR"`
7
8 CLASSPATH=
9 for l in `find "$DIR/bin/lib" -name \*.jar -print`; do
10 CLASSPATH=$CLASSPATH:$l
11 done
12
13 export CLASSPATH
14
15 exec java -Xmx1024m \
16 -server \
17 -Djava.awt.headless=true \
18 -Dflys.datacage.recommendations.development=false \
19 -Djava.io.tmpdir="$DIR/cache" \
20 -Dflys.uesk.keep.artifactsdir=false \
21 -Dwsplgen.bin.path="$DIR/bin/wsplgen" \
22 -Dwsplgen.log.output=false \
23 -Dartifact.database.dir="$DIR/conf" \
24 $APP

http://dive4elements.wald.intevation.org