diff options
| author | Tim Watson <tim@rabbitmq.com> | 2014-02-21 10:45:38 +0000 |
|---|---|---|
| committer | Tim Watson <tim@rabbitmq.com> | 2014-02-21 10:45:38 +0000 |
| commit | e9e54f327d0139a9e0dfa53858767308ac3dea8f (patch) | |
| tree | 374b596eaceb106229a6260271cbe04b34aa4507 /scripts/rabbitmq-plugins | |
| parent | f64397eb1861eceb6eb3052358ab6bfb64c78e20 (diff) | |
| parent | a2f7fcc8366699a95c3536f191c0e0aa77cebcc3 (diff) | |
| download | rabbitmq-server-git-e9e54f327d0139a9e0dfa53858767308ac3dea8f.tar.gz | |
Merge default into bug24926
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 "$@" |
