diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-10 02:36:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-10 02:36:57 +0300 |
commit | 0b974c74a13a9e493ed4f3c2da3569ddaaa45c74 (patch) | |
tree | 993d09576f0ea7bc4d59025c9417597c9ec1be02 /herculeswrapper/map.sh | |
parent | 5c0fc1fc767b7b447d787d8123b23e99a35b8577 (diff) | |
download | evol-tools-0b974c74a13a9e493ed4f3c2da3569ddaaa45c74.tar.gz evol-tools-0b974c74a13a9e493ed4f3c2da3569ddaaa45c74.tar.bz2 evol-tools-0b974c74a13a9e493ed4f3c2da3569ddaaa45c74.tar.xz evol-tools-0b974c74a13a9e493ed4f3c2da3569ddaaa45c74.zip |
herculeswrapper: add support for git pull + git stash
Diffstat (limited to 'herculeswrapper/map.sh')
-rwxr-xr-x | herculeswrapper/map.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/herculeswrapper/map.sh b/herculeswrapper/map.sh index ed2a1bd..bbbf65a 100755 --- a/herculeswrapper/map.sh +++ b/herculeswrapper/map.sh @@ -34,5 +34,12 @@ while [ 1 ] ; do 103) echo "Restarting map server..." ;; + 104) + echo "git pull..." + pull_all + echo "Restarting all servers..." + send_all_pipes "restart" + sleep 5s + ;; esac done |