diff options
| author | Tim Watson <tim@rabbitmq.com> | 2013-11-05 15:10:36 +0000 |
|---|---|---|
| committer | Tim Watson <tim@rabbitmq.com> | 2013-11-05 15:10:36 +0000 |
| commit | e94fa2b9b5793400d49d2ea74fc430fdc831903f (patch) | |
| tree | 7e1ff8b9935bc66caeffff9d0b8780931b43e0cb /scripts/rabbitmq-plugins | |
| parent | 05fbf763c5fd19ae15de69a22c8382362d46239a (diff) | |
| download | rabbitmq-server-git-e94fa2b9b5793400d49d2ea74fc430fdc831903f.tar.gz | |
Allow for runtime disabling of plugins
Diffstat (limited to 'scripts/rabbitmq-plugins')
| -rwxr-xr-x | scripts/rabbitmq-plugins | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/rabbitmq-plugins b/scripts/rabbitmq-plugins index 90eb5a5d77..c6f3ff9c49 100755 --- a/scripts/rabbitmq-plugins +++ b/scripts/rabbitmq-plugins @@ -21,6 +21,7 @@ ##--- Set environment vars RABBITMQ_<var_name> to defaults if not set +[ "x" = "x$RABBITMQ_NODENAME" ] && RABBITMQ_NODENAME=${NODENAME} [ "x" = "x$RABBITMQ_ENABLED_PLUGINS_FILE" ] && RABBITMQ_ENABLED_PLUGINS_FILE=${ENABLED_PLUGINS_FILE} [ "x" = "x$RABBITMQ_PLUGINS_DIR" ] && RABBITMQ_PLUGINS_DIR=${PLUGINS_DIR} @@ -35,4 +36,5 @@ exec ${ERL_DIR}erl \ -s rabbit_plugins_main \ -enabled_plugins_file "$RABBITMQ_ENABLED_PLUGINS_FILE" \ -plugins_dist_dir "$RABBITMQ_PLUGINS_DIR" \ + -nodename $RABBITMQ_NODENAME \ -extra "$@" |
