Skip to content
This repository was archived by the owner on Nov 15, 2018. It is now read-only.

Commit 9bda92e

Browse files
committed
Install plugins on deploy
1 parent d0612a7 commit 9bda92e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bin/control

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ function start() {
5454
export PUBLISH_HOST=$(python -c "import socket; print socket.gethostbyname('$OPENSHIFT_GEAR_DNS')")
5555

5656
$OPENSHIFT_ELASTICSEARCH_DIR/usr/bin/elasticsearch -p $PID_FILE
57-
58-
_install_plugins
5957
}
6058

6159
function stop() {
@@ -96,10 +94,15 @@ function status() {
9694
fi
9795
}
9896

97+
function deploy() {
98+
_install_plugins
99+
}
100+
99101
case "$1" in
100102
start) start ;;
101103
stop) stop ;;
102104
restart | reload ) restart $1 ;;
103105
status) status ;;
106+
deploy) deploy ;;
104107
*) exit 0
105108
esac

0 commit comments

Comments
 (0)