-
Notifications
You must be signed in to change notification settings - Fork 0
/
***Deploy2.sh
58 lines (26 loc) ยท 960 Bytes
/
***Deploy2.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/sh
uengineSource="/home1/***/***";
***Name='bpm-4.0.0-BUILD-SNAPSHOT'
echo 'Server Stop Go Go ~~ '
/home1/***/jeus7/bin/stopServer -host localhost:9720 -u administrator -p jeusadmin
echo 'Server Stop Ok ~~ '
echo 'war unzip Go Go ~~ '
cd $***
jar -xvf $***/bpm-4.0.0-BUILD-SNAPSHOT.war
echo 'war unzip Ok !! '
echo 'war file remove ... '
cd $***
rm -f bpm-4.0.0-BUILD-SNAPSHOT.war
echo 'war file remove Ok !! '
echo 'rename sso conf ...'
mv $***/WEB-INF/classes/tmaxeamagent.conf.run $uengineSource/WEB-INF/classes/tmaxeamagent.conf
mv $***/WEB-INF/classes/tmaxeamagent.lic.run $uengineSource/WEB-INF/classes/tmaxeamagent.lic
mv $***/WEB-INF/classes/tmaxeamapi.conf.run $uengineSource/WEB-INF/classes/tmaxeamapi.conf
echo 'rename sso conf OK !! '
echo 'server start Go Go ~~ '
/home1/***/jeus7/bin/jeusadmin -port 9700 -u administrator -p jeusadmin << EOF
start-server server2
exit
EOF
echo 'server start Ok ~~ '
exit 0