#！/bin/bash

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

export HOME=$PWD
conf=../service/sns/conf/
JAVA_MEM_OPTS="-Xms256m -Xmx512m"
JAVA_OPTS=$JAVA_MEM_OPTS
java $JAVA_OPTS -Xbootclasspath/a:$conf -Dfile.encoding=UTF-8 -jar liankong-sns-web-1.0-SNAPSHOT.jar > /tmp/sns.log 2>&1 &
