Skip to content

Commit

Permalink
Update upgrade.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
speed authored Jul 17, 2016
1 parent 731ec3e commit 1b04cf4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions upgrade.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#upgrade

cd newcrawler
rm -f -v master.zip
wget --no-check-certificate https://github.com/speed/newcrawler/archive/master.zip -O master.zip
unzip -n master.zip
rm -R -f -v newcrawler-master/war/WEB-INF/classes
rm -f -v cluster.zip
wget --no-check-certificate https://github.com/speed/newcrawler/archive/cluster.zip -O cluster.zip
unzip -n cluster.zip
rm -R -f -v newcrawler-cluster/war/WEB-INF/classes
rm -R -f -v war/WEB-INF/lib
rm -R -f -v war/static
\cp -R newcrawler-master/war/* war
rm -R -f -v newcrawler-master
rm -f -v master.zip
\cp -R newcrawler-cluster/war/* war
rm -R -f -v newcrawler-cluster
rm -f -v cluster.zip
sh stop.sh

sh start.sh &

0 comments on commit 1b04cf4

Please sign in to comment.