Commit f659874e authored by 赵啸非's avatar 赵啸非

修改配置文件

parent 34c43b79
......@@ -130,8 +130,11 @@ build_nginx() {
#启动服务与nginx
start_service_and_nginx() {
writelog "${PROJECT_NAME}服务启动..."
systemctl enable ${PROJECT_NAME}
systemctl daemon-reload
systemctl stop ${PROJECT_NAME}
sleep 2
systemctl start ${PROJECT_NAME}
nginx -t
nginx -s reload
......
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