diff --git a/conf/mingan_reboot.sh b/conf/mingan_reboot.sh index 73ef04d..aea66d8 100644 --- a/conf/mingan_reboot.sh +++ b/conf/mingan_reboot.sh @@ -19,3 +19,4 @@ else fi nohup java -Dfile.encoding=UTF-8 -server -Xms1g -Xmx1g -Xss512K -XX:MaxMetaspaceSize=256m -XX:CompressedClassSpaceSize=64m -XX:+UseG1GC -XX:ParallelGCThreads=8 -XX:ConcGCThreads=4 -XX:NativeMemoryTracking=detail -verbose:gc -Xloggc:${LOG_DIR}/gc_core.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -Djava.ext.dirs=${BASE_DIR}/lib:$JAVA_HOME/jre/lib/ext -cp ${CLASSPATH} com.ljsd.SensitiveWordApplication --spring.config.location=${BASE_DIR}/conf/application.properties >> corelog.log 2>&1 & +echo "进程 $process_name 已启动." \ No newline at end of file