net.happyonroad.builder.start.sh Maven / Gradle / Ivy
The newest version!
#! /bin/sh
APP_HOME=$(dirname $(dirname $(readlink -f $0)))
APP_NAME=${app.name}
APP_PORT=${app.port}
BOOTSTRAP_JAR=${app.boot}
APP_TARGET=${app.target}
OPTIONS=-Dlogback.configurationFile=config/logback.xml
cd $APP_HOME
java -Dapp.home=$APP_HOME \
-Dapp.name=$APP_NAME \
-Dapp.port=$APP_PORT \
$OPTIONS \
${jvm.options} \
-jar $BOOTSTRAP_JAR \
$APP_TARGET
© 2015 - 2024 Weber Informatics LLC | Privacy Policy