File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1616
1717# ======================================================================
1818# 项目启动shell脚本
19- # boot目录: spring boot jar包
2019# config目录: 配置文件目录
2120# logs目录: 项目运行日志目录
2221# logs/spring-boot-plus_startup.log: 记录启动日志
@@ -117,13 +116,13 @@ STARTUP_LOG="${STARTUP_LOG}application JAVA_OPT : ${JAVA_OPT}\n"
117116
118117
119118# 打印启动命令
120- STARTUP_LOG=" ${STARTUP_LOG} application background startup command: nohup java ${JAVA_OPT} -jar ${BASE_PATH} /boot /${APPLICATION_JAR} --spring.config.location=${CONFIG_DIR} > ${LOG_PATH} 2>&1 &\n"
119+ STARTUP_LOG=" ${STARTUP_LOG} application background startup command: nohup java ${JAVA_OPT} -jar ${BASE_PATH} /lib /${APPLICATION_JAR} --spring.config.location=${CONFIG_DIR} > ${LOG_PATH} 2>&1 &\n"
121120
122121
123122# ======================================================================
124123# 执行启动命令:后台启动项目,并将日志输出到项目根目录下的logs文件夹下
125124# ======================================================================
126- nohup java ${JAVA_OPT} -jar ${BASE_PATH} /boot /${APPLICATION_JAR} --spring.config.location=${CONFIG_DIR} > ${LOG_PATH} 2>&1 &
125+ nohup java ${JAVA_OPT} -jar ${BASE_PATH} /lib /${APPLICATION_JAR} --spring.config.location=${CONFIG_DIR} > ${LOG_PATH} 2>&1 &
127126
128127
129128# 进程ID
You can’t perform that action at this time.
0 commit comments