summaryrefslogtreecommitdiff
path: root/herculeswrapper/map.sh
diff options
context:
space:
mode:
Diffstat (limited to 'herculeswrapper/map.sh')
-rwxr-xr-xherculeswrapper/map.sh7
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