diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-10 02:59:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-10 02:59:44 +0300 |
commit | 6e8f1ad4461537d0c958b06ffac37cbb138a45fa (patch) | |
tree | a3009d80ec390b03c4704389b3efdd1d18d8c9b4 /herculeswrapper/map.sh | |
parent | 0b974c74a13a9e493ed4f3c2da3569ddaaa45c74 (diff) | |
download | tools-6e8f1ad4461537d0c958b06ffac37cbb138a45fa.tar.gz tools-6e8f1ad4461537d0c958b06ffac37cbb138a45fa.tar.bz2 tools-6e8f1ad4461537d0c958b06ffac37cbb138a45fa.tar.xz tools-6e8f1ad4461537d0c958b06ffac37cbb138a45fa.zip |
herculeswrapper: add support for build code.
Diffstat (limited to 'herculeswrapper/map.sh')
-rwxr-xr-x | herculeswrapper/map.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/herculeswrapper/map.sh b/herculeswrapper/map.sh index bbbf65a..f55f2d9 100755 --- a/herculeswrapper/map.sh +++ b/herculeswrapper/map.sh @@ -41,5 +41,13 @@ while [ 1 ] ; do send_all_pipes "restart" sleep 5s ;; + 105) + echo "Build all servers" + sleep 5s + build_all + echo "Restarting all servers..." + send_all_pipes "restart" + sleep 5s + ;; esac done |