运行脚本

This commit is contained in:
wangliwen 2022-05-06 16:49:14 +08:00
parent d957021bd2
commit 048861c2c6
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ LOG_PATH=/dev/null
#开始方法 #开始方法
start() { start() {
cd $JAR_ROOT cd $JAR_ROOT
nohup java -Dfile.encoding=utf-8 -server -Xms256m -Xmx1g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./ -jar $JAR_PATH --server.port=8888 >$LOG_PATH 2>&1 & nohup java -Dfile.encoding=utf-8 -server -Xms256m -Xmx1g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./ -jar $JAR_PATH >$LOG_PATH 2>&1 &
echo "$JAR_PATH start success." echo "$JAR_PATH start success."
} }