From 27e7e90a5045e8c7e1144d9a0cc3d2de47442116 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Aug 2016 16:39:28 +0300 Subject: herculeswrapper: add support for git pull and build plugin code --- herculeswrapper/map.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'herculeswrapper') 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 -- cgit v1.2.3-70-g09d2