Commit 35e745a7 authored by 季圣华's avatar 季圣华
Browse files

优化启动脚本

parent bf032afe
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.jsh</groupId> <groupId>com.jsh</groupId>
<artifactId>jshERP</artifactId> <artifactId>jshERP</artifactId>
<version>2.0.3-SNAPSHOT</version> <version>2.1.5-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>jshERP</name> <name>jshERP</name>
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
</dependencies> </dependencies>
<build> <build>
<finalName>jshERP2.0</finalName> <finalName>jshERP</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
......
...@@ -8,7 +8,7 @@ readonly LIB_HOME="$APP_HOME/lib" ...@@ -8,7 +8,7 @@ readonly LIB_HOME="$APP_HOME/lib"
readonly LOGS_HOME="$APP_HOME/logs" readonly LOGS_HOME="$APP_HOME/logs"
readonly PID_FILE="$LOGS_HOME/application.pid" 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 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" 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"
......
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
title jshERP title jshERP
java -Xms1000m -Xmx2000m -jar .\lib\jshERP2.0.jar java -Xms1000m -Xmx2000m -jar .\lib\jshERP.jar
pause over pause over
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment