#！/bin/bash

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

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