木子李·De 3 years ago
parent 3465b8253e
commit a28b28184d

@ -38,5 +38,5 @@ IF "%JAVA_HOME%" == "" (
set JAVA_OPTS= -server -Xms1g -Xmx2g -Xmn256m -XX:PermSize=128m -Xss256k set JAVA_OPTS= -server -Xms1g -Xmx2g -Xmn256m -XX:PermSize=128m -Xss256k
rem 正式启动 rem 正式启动
%JAVA_HOME%\bin\java %JAVA_OPTS% -jar -Dspring.config.location=%CONF_YML% %BIN_DIR%\lib\%BOOT_JAR% -Xbootclasspath/a:%LIB_JARS% %JAVA_HOME%\bin\java %JAVA_OPTS% -Xbootclasspath/a:%LIB_JARS% -jar -Dspring.config.location=%CONF_YML% %BIN_DIR%\lib\%BOOT_JAR%

@ -23,6 +23,6 @@ if [ -n "$PIDS" ]; then
fi fi
nohup java $JAVA_OPTS -jar -Dspring.config.location=$CONF_DIR/bootstrap.yml $LIB_DIR/aj-report-*.jar -Xbootclasspath/a:$LIB_JARS >/dev/null 2>&1 & nohup java $JAVA_OPTS -Xbootclasspath/a:$LIB_JARS -jar -Dspring.config.location=$CONF_DIR/bootstrap.yml $LIB_DIR/aj-report-*.jar >/dev/null 2>&1 &
echo "The AJ-Report started!" echo "The AJ-Report started!"
Loading…
Cancel
Save