diff options
-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 |