summaryrefslogtreecommitdiff
path: root/herculeswrapper/map.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-10 03:16:08 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-10 03:16:08 +0300
commita56e62f2a9f5765af8294f77658b2ec9d7effc1e (patch)
treea35c90d25c7db136da1eb7a46c63c51c4f68a4ab /herculeswrapper/map.sh
parent6e8f1ad4461537d0c958b06ffac37cbb138a45fa (diff)
downloadtools-a56e62f2a9f5765af8294f77658b2ec9d7effc1e.tar.gz
tools-a56e62f2a9f5765af8294f77658b2ec9d7effc1e.tar.bz2
tools-a56e62f2a9f5765af8294f77658b2ec9d7effc1e.tar.xz
tools-a56e62f2a9f5765af8294f77658b2ec9d7effc1e.zip
herculeswrapper: add support for rebuild code.
Diffstat (limited to 'herculeswrapper/map.sh')
-rwxr-xr-xherculeswrapper/map.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/herculeswrapper/map.sh b/herculeswrapper/map.sh
index f55f2d9..9efa0a4 100755
--- a/herculeswrapper/map.sh
+++ b/herculeswrapper/map.sh
@@ -49,5 +49,14 @@ while [ 1 ] ; do
send_all_pipes "restart"
sleep 5s
;;
+ 106)
+ echo "Rebuild all servers"
+ sleep 5s
+ build_clean
+ build_all
+ echo "Restarting all servers..."
+ send_all_pipes "restart"
+ sleep 5s
+ ;;
esac
done