Commit 4c9e9bd4 authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20150024: Job [Deploy_CHMB_UAT_136] configuration updated

Change performed by ¤ý«~³ó
parent 4585434d
...@@ -126,12 +126,14 @@ sed -i "s/<title.*/<title>CHM Booking Manage v${version}_${VAR}&lt ...@@ -126,12 +126,14 @@ sed -i "s/<title.*/<title>CHM Booking Manage v${version}_${VAR}&lt
<command>sudo systemctl stop CHMB <command>sudo systemctl stop CHMB
sudo systemctl stop CHMB_Batch sudo systemctl stop CHMB_Batch
rm -rf /opt/chm/chmb/lib/* rm -rf /opt/chm/chmb/lib/*
rm -rf /opt/chm/chmb/sample/*
rm -rf /opt/chm/chmb/template/*
chmb=/opt/chm/chmb chmb=/opt/chm/chmb
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
7za x target/CHMB-pack.zip -o&quot;${tempdir}&quot; 7za x target/CHMB-pack.zip -o&quot;${tempdir}&quot;
cp -rf &quot;${tempdir}/CHMB/lib/&quot; &quot;${chmb}/lib&quot; cp -rf &quot;${tempdir}/CHMB/lib/*&quot; &quot;${chmb}/lib&quot;
cp -rf &quot;${tempdir}/CHMB/sample/&quot; &quot;${chmb}/sample&quot; cp -rf &quot;${tempdir}/CHMB/sample/*&quot; &quot;${chmb}/sample&quot;
cp -rf &quot;${tempdir}/CHMB/template/&quot; &quot;${chmb}/template&quot; cp -rf &quot;${tempdir}/CHMB/template/*&quot; &quot;${chmb}/template&quot;
rm -rf &quot;${tempdir}&quot; rm -rf &quot;${tempdir}&quot;
sudo systemctl start CHMB sudo systemctl start CHMB
sudo systemctl start CHMB_Batch</command> sudo systemctl start CHMB_Batch</command>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment