From 7153fd27feaa8c05f70a5fbeeaf392db162eb7f5 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Mon, 1 Jul 2019 16:56:16 +0800 Subject: [PATCH] 20170121: Job [Deploy_CHM_SIT_130] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by §N¨ήS --- jobs/Deploy_CHM_SIT_130/config.xml | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/jobs/Deploy_CHM_SIT_130/config.xml b/jobs/Deploy_CHM_SIT_130/config.xml index 3d5023cb..cc890366 100644 --- a/jobs/Deploy_CHM_SIT_130/config.xml +++ b/jobs/Deploy_CHM_SIT_130/config.xml @@ -130,26 +130,10 @@ sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${ve - #sudo systemctl stop CRM + sudo systemctl stop CRM -#chm=/opt/CRM/ -#tempdir=$(mktemp -d) - -#sudo rm -f ${chm}/lib/* -#sudo 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" -#rm -rf "${tempdir}" - -#sudo systemctl start CRM - - -sudo systemctl stop CRM - -chm=/opt/chm/chm +chm=/opt/CRM/ tempdir=$(mktemp -d) sudo rm -f ${chm}/lib/* @@ -160,7 +144,8 @@ sudo mv -f ${tempdir}/CRM/lib/* "${chm}/lib" sudo mv -f ${tempdir}/CRM/templates/* "${chm}/templates" rm -rf "${tempdir}" -sudo systemctl start CRM +sudo systemctl start CRM + -- 2.26.2