summaryrefslogtreecommitdiffstats
path: root/catalog-fe/src/main/resources/scripts/startJetty.sh
blob: 074d91d6f7f9e7d3dee8b6d4658a479702415a8e (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

export JETTY_HOME=/home/jetty/jetty-distribution-9.2.7.v20150116
export JETTY_BASE=/home/jetty/base

eval "jvmargs=`sed '/^#/d'  jvm.properties | paste -s -d"#"`"
jvmargs=`echo $jvmargs | sed 's/#/ /g'`
echo $jvmargs

java  -jar $JETTY_HOME/start.jar $jvmargs $@