diff --git a/jobs/Deploy_CHM_DEMO_10/config.xml b/jobs/Deploy_CHM_DEMO_10/config.xml index 781a980d6d38cb4c41fb4e6063dd7e85d0d5558f..457678114ccd90e15f8226c431d07059075fa3b4 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