summaryrefslogtreecommitdiff
path: root/scripts/rabbitmq-plugins
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-22 16:18:32 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-22 16:18:32 +0100
commit1f72ea46b0228c1e05d2e6b50391c5e6373d87bf (patch)
treeb7339a41158ac3973272ecb0399472d3ab23e725 /scripts/rabbitmq-plugins
parent19fef5cde199b89984acb7d6ecbb40e91734e6a5 (diff)
downloadrabbitmq-server-git-1f72ea46b0228c1e05d2e6b50391c5e6373d87bf.tar.gz
don't use the plugins directory
Diffstat (limited to 'scripts/rabbitmq-plugins')
-rwxr-xr-xscripts/rabbitmq-plugins4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rabbitmq-plugins b/scripts/rabbitmq-plugins
index ca2d3caa8c..b3137a32de 100755
--- a/scripts/rabbitmq-plugins
+++ b/scripts/rabbitmq-plugins
@@ -17,7 +17,7 @@
. `dirname $0`/rabbitmq-env
-[ "x" = "x$RABBITMQ_PLUGINS_DIR" ] && RABBITMQ_PLUGINS_DIR="${RABBITMQ_HOME}/plugins"
+[ "x" = "x$RABBITMQ_ENABLED_PLUGINS_FILE" ] && RABBITMQ_ENABLED_PLUGINS_FILE=/etc/rabbitmq/enabled_plugins
[ "x" = "x$RABBITMQ_PLUGINS_DIST_DIR" ] && RABBITMQ_PLUGINS_DIST_DIR="${RABBITMQ_HOME}/plugins-dist"
@@ -27,6 +27,6 @@ exec erl \
-hidden \
-sname rabbitmq-plugins$$ \
-s rabbit_plugins \
- -plugins_dir "$RABBITMQ_PLUGINS_DIR" \
+ -enabled_plugins_file "$RABBITMQ_ENABLED_PLUGINS_FILE" \
-plugins_dist_dir "$RABBITMQ_PLUGINS_DIST_DIR" \
-extra "$@"