Commit 90b917c8 authored by 赵啸非's avatar 赵啸非

精简网关pom.xml文件

parent 7b89d34c
......@@ -81,6 +81,7 @@ start_service() {
systemctl daemon-reload
writelog "${PROJECT_NAME}服务启动..."
systemctl stop ${PROJECT_NAME} && systemctl start ${PROJECT_NAME}
sleep 5
project_status=$(systemctl status "${PROJECT_NAME}"|grep Active |awk '{print $2}')
jcpid=$(ps -ef | grep -v "grep" | grep "${PROJECT_NAME} " | awk '{print $2}')
writelog "${PROJECT_NAME}服务启动,PID is ${jcpid} ,status:${project_status}"
......@@ -114,7 +115,7 @@ main() {
echo "后台服务部署"
project_deploy
echo "前端服务部署"
project_ui_deploy
#project_ui_deploy
exit ${RETVAL}
}
......
Markdown is supported
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