summaryrefslogtreecommitdiff
path: root/herculeswrapper
diff options
context:
space:
mode:
Diffstat (limited to 'herculeswrapper')
-rwxr-xr-xherculeswrapper/map.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/herculeswrapper/map.sh b/herculeswrapper/map.sh
index 9efa0a4..7cbad34 100755
--- a/herculeswrapper/map.sh
+++ b/herculeswrapper/map.sh
@@ -58,5 +58,14 @@ while [ 1 ] ; do
send_all_pipes "restart"
sleep 5s
;;
+ 107)
+ echo "git pull..."
+ pull_all
+ echo "Build all servers"
+ build_all
+ echo "Restarting all servers..."
+ send_all_pipes "restart"
+ sleep 5s
+ ;;
esac
done