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 | 61266a5e641c7a4d67e348de48081f394290079b (patch) | |
tree | 7e1ff8b9935bc66caeffff9d0b8780931b43e0cb /scripts/rabbitmq-plugins | |
parent | 04811f9b349e548bf030cd9797eaf6034a6e4229 (diff) | |
download | rabbitmq-server-61266a5e641c7a4d67e348de48081f394290079b.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 90eb5a5d..c6f3ff9c 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 "$@" |