#！/bin/bash

export JAVA_HOME=/application/jdk1.8.0_251
export PATH=.:$PATH:$JAVA_HOME/bin

export HOME=$PWD
export HOME=$PWD
conf=../service/document/conf/

JAVA_MEM_OPTS="-Xms512m -Xmx2048m"
JAVA_OPTS=$JAVA_MEM_OPTS
java $JAVA_OPTS -Dfile.encoding=UTF-8 -jar liankong-document-web-1.0-SNAPSHOT.jar --spring.conf.location=$conf  > /tmp/document.log 2>&1 &
