启动脚本
This commit is contained in:
parent
9b66fa7b21
commit
40c6cd37a7
|
@ -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."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue