运行脚本
This commit is contained in:
parent
d957021bd2
commit
048861c2c6
|
@ -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."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue