启动脚本

This commit is contained in:
wangliwen 2022-11-08 14:02:08 +08:00
parent 9b66fa7b21
commit 40c6cd37a7
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ fi
#开始方法 #开始方法
start() { start() {
cd $JAR_ROOT cd $JAR_ROOT
nohup java -Dfile.encoding=utf-8 -server -Xms256m -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -Duser.timezone=GMT+08 -XX:HeapDumpPath=./ -jar --spring.profiles.active=$PROFILES_ACTIVE $JAR_PATH >$LOG_PATH 2>&1 & nohup java -Dfile.encoding=utf-8 -server -Xms256m -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -Duser.timezone=GMT+08 -XX:HeapDumpPath=./ -jar $JAR_PATH --spring.profiles.active=$PROFILES_ACTIVE >$LOG_PATH 2>&1 &
echo "$JAR_PATH start success." echo "$JAR_PATH start success."
} }