From e30aaec9276116f9cc62797a1bd17d3d6577b577 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Fri, 28 Sep 2018 11:14:37 +0800 Subject: [PATCH] 20140144: Job [Deploy_CHM_DEMO_10] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ·¨¼y°ó --- jobs/Deploy_CHM_DEMO_10/config.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/jobs/Deploy_CHM_DEMO_10/config.xml b/jobs/Deploy_CHM_DEMO_10/config.xml index 781a980d..45767811 100644 --- a/jobs/Deploy_CHM_DEMO_10/config.xml +++ b/jobs/Deploy_CHM_DEMO_10/config.xml @@ -4,7 +4,7 @@ false - + ylhealth @@ -119,21 +119,21 @@ sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${ve - sudo systemctl stop CRM + systemctl stop CRM chm=/opt/CRM/ tempdir=$(mktemp -d) -sudo rm -f ${chm}/lib/* -sudo rm -rf ${chm}/templates/* +rm -f ${chm}/lib/* +rm -rf ${chm}/templates/* 7za x target/CRM-pack.zip -o"${tempdir}" -sudo mv -f ${tempdir}/CRM/lib/* "${chm}/lib" -sudo mv -f ${tempdir}/CRM/templates/* "${chm}/templates" +mv -f ${tempdir}/CRM/lib/* "${chm}/lib" +mv -f ${tempdir}/CRM/templates/* "${chm}/templates" rm -rf "${tempdir}" -sudo systemctl start CRM +systemctl start CRM -- 2.26.2