diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-10 03:35:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-10 03:35:53 +0300 |
commit | f57eb89da57a9dfaad8085ee0a07ad2618dcac50 (patch) | |
tree | 0927342d170bf895d1a27eca34236b4bbe803254 /herculeswrapper/map.sh | |
parent | ce5830cc30270be547bc53894bc3ce5a590c54cc (diff) | |
download | evol-tools-f57eb89da57a9dfaad8085ee0a07ad2618dcac50.tar.gz evol-tools-f57eb89da57a9dfaad8085ee0a07ad2618dcac50.tar.bz2 evol-tools-f57eb89da57a9dfaad8085ee0a07ad2618dcac50.tar.xz evol-tools-f57eb89da57a9dfaad8085ee0a07ad2618dcac50.zip |
herculeswrapper: add support for git pull and rebuild code.
Diffstat (limited to 'herculeswrapper/map.sh')
-rwxr-xr-x | herculeswrapper/map.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/herculeswrapper/map.sh b/herculeswrapper/map.sh index 7cbad34..b191326 100755 --- a/herculeswrapper/map.sh +++ b/herculeswrapper/map.sh @@ -67,5 +67,15 @@ while [ 1 ] ; do send_all_pipes "restart" sleep 5s ;; + 108) + echo "git pull..." + pull_all + echo "Rebuild all servers" + build_clean + build_all + echo "Restarting all servers..." + send_all_pipes "restart" + sleep 5s + ;; esac done |