优化启动脚本

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

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.jsh</groupId>
<artifactId>jshERP</artifactId>
<version>2.0.3-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
<packaging>jar</packaging>
<name>jshERP</name>
@@ -101,7 +101,7 @@
</dependencies>
<build>
<finalName>jshERP2.0</finalName>
<finalName>jshERP</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>

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