From 8672d7557b0039ddf184827c82be8ca732577d71 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Tue, 12 Nov 2019 11:12:22 +0800 Subject: [PATCH] 20180083: Job [Deploy_Hi365_Questionnaire_SIT] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by §õº~? --- jobs/Deploy_Hi365_Questionnaire_SIT/config.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/jobs/Deploy_Hi365_Questionnaire_SIT/config.xml b/jobs/Deploy_Hi365_Questionnaire_SIT/config.xml index 8876662c..e72bc647 100644 --- a/jobs/Deploy_Hi365_Questionnaire_SIT/config.xml +++ b/jobs/Deploy_Hi365_Questionnaire_SIT/config.xml @@ -85,9 +85,18 @@ #切換目標 cd target -sudo rename designer_boot-0.0.1-SNAPSHOT.war designer_boot-0.0.1.war + +#停止服務 sudo systemctl stop form.service - + +#移除原本war檔案 +sudo rm /opt/form/designer_boot.war + +#搬移檔案到/opt/form/designer_boot.war +mv designer_boot-0.0.1-SNAPSHOT.war /opt/form/designer_boot.war + +#開啟服務 +sudo systemctl start form.service -- 2.26.2