#！/bin/bash

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

export HOME=$PWD
conf=../service/message/conf/
JAVA_MEM_OPTS="-Xms256m -Xmx512m"
JAVA_OPTS=$JAVA_MEM_OPTS
java $JAVA_OPTS -Dfile.encoding=UTF-8 -jar liankong-message-web-1.0-SNAPSHOT.jar  --spring.config.location=$conf  > /tmp/message.log 2>&1 &
