summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xherculeswrapper/map.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/herculeswrapper/map.sh b/herculeswrapper/map.sh
index 78fb453..1fcd1e3 100755
--- a/herculeswrapper/map.sh
+++ b/herculeswrapper/map.sh
@@ -85,5 +85,14 @@ while [ 1 ] ; do
send_all_pipes "restart"
sleep 5s
;;
+ 110)
+ echo "git pull..."
+ pull_all
+ echo "Build plugin"
+ build_plugin
+ echo "Restarting all servers..."
+ send_all_pipes "restart"
+ sleep 5s
+ ;;
esac
done