优化启动脚本

This commit is contained in:
季圣华
2020-12-11 21:29:54 +08:00
parent bf032afecb
commit 35e745a704
3 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ readonly LIB_HOME="$APP_HOME/lib"
readonly LOGS_HOME="$APP_HOME/logs"
readonly PID_FILE="$LOGS_HOME/application.pid"
readonly APP_MAIN_CLASS="jshERP2.0.jar"
readonly APP_MAIN_CLASS="jshERP.jar"
readonly LOG_CONFIG="$CONFIG_HOME/logback-spring.xml"
readonly JAVA_RUN="-Dlogs.home=$LOGS_HOME -Dlogging.config=$LOG_CONFIG -Dspring.config.location=file:$CONFIG_HOME -Dspring.pid.file=$PID_FILE -Dspring.pid.fail-on-write-error=true"

View File

@@ -2,5 +2,5 @@
title jshERP
java -Xms1000m -Xmx2000m -jar .\lib\jshERP2.0.jar
java -Xms1000m -Xmx2000m -jar .\lib\jshERP.jar
pause over