summaryrefslogtreecommitdiff
path: root/herculeswrapper/map.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-10 16:24:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-10 16:24:24 +0300
commit0aff35a3d441ecc725a3ad8f475731956dfa2bda (patch)
treeb60e2764195fa171aea583ded86776736206dd6a /herculeswrapper/map.sh
parentf57eb89da57a9dfaad8085ee0a07ad2618dcac50 (diff)
downloadevol-tools-0aff35a3d441ecc725a3ad8f475731956dfa2bda.tar.gz
evol-tools-0aff35a3d441ecc725a3ad8f475731956dfa2bda.tar.bz2
evol-tools-0aff35a3d441ecc725a3ad8f475731956dfa2bda.tar.xz
evol-tools-0aff35a3d441ecc725a3ad8f475731956dfa2bda.zip
herculeswrapper: add support for build plugin code.
Diffstat (limited to 'herculeswrapper/map.sh')
-rwxr-xr-xherculeswrapper/map.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/herculeswrapper/map.sh b/herculeswrapper/map.sh
index b191326..78fb453 100755
--- a/herculeswrapper/map.sh
+++ b/herculeswrapper/map.sh
@@ -77,5 +77,13 @@ while [ 1 ] ; do
send_all_pipes "restart"
sleep 5s
;;
+ 109)
+ echo "Build plugin"
+ sleep 5s
+ build_plugin
+ echo "Restarting all servers..."
+ send_all_pipes "restart"
+ sleep 5s
+ ;;
esac
done