From ce5830cc30270be547bc53894bc3ce5a590c54cc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Aug 2016 03:26:44 +0300 Subject: herculeswrapper: add support for git pull and build code. --- herculeswrapper/map.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'herculeswrapper') diff --git a/herculeswrapper/map.sh b/herculeswrapper/map.sh index 9efa0a4..7cbad34 100755 --- a/herculeswrapper/map.sh +++ b/herculeswrapper/map.sh @@ -58,5 +58,14 @@ while [ 1 ] ; do send_all_pipes "restart" sleep 5s ;; + 107) + echo "git pull..." + pull_all + echo "Build all servers" + build_all + echo "Restarting all servers..." + send_all_pipes "restart" + sleep 5s + ;; esac done -- cgit v1.2.3-60-g2f50