From f659874ef2a76144881c190fe00e4c03c0e6fc8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=95=B8=E9=9D=9E?= <13281114856@qq.com>
Date: Wed, 2 Nov 2022 15:22:50 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?=
 =?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 sample-form-manager/src/main/bin/deploy.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sample-form-manager/src/main/bin/deploy.sh b/sample-form-manager/src/main/bin/deploy.sh
index 4acdb55..89fc629 100644
--- a/sample-form-manager/src/main/bin/deploy.sh
+++ b/sample-form-manager/src/main/bin/deploy.sh
@@ -130,8 +130,11 @@ build_nginx() {
 
 #鍚姩鏈嶅姟涓巒ginx
 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
-- 
2.24.3