From b6cd89440edf2b42ea840e73230b357f142546da Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Fri, 17 Dec 2021 00:26:06 +0000 Subject: [PATCH] setup: Remove unused RABBITMQ_NODE. This reverts commit 889547ff5ed22205287245a8416d6bda43cd2d9c. It is unused in the Docker container, as the configurtaion of the `zulip` user in the rabbitmq node is done via environment variables. The Zulip host in that context does not have `rabbitmqctl` installed, and would have needed to know the Erlang cookie to be able to run these commands. --- scripts/setup/configure-rabbitmq | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/setup/configure-rabbitmq b/scripts/setup/configure-rabbitmq index eecb10e509..3ba1590b04 100755 --- a/scripts/setup/configure-rabbitmq +++ b/scripts/setup/configure-rabbitmq @@ -11,9 +11,6 @@ else rabbitmqctl=(sudo rabbitmqctl) fi -if [ -n "$RABBITMQ_NODE" ]; then - rabbitmqctl+=(-n "$RABBITMQ_NODE") -fi RABBITMQ_USERNAME=$("$(dirname "$0")/../get-django-setting" RABBITMQ_USERNAME) RABBITMQ_PASSWORD=$("$(dirname "$0")/../get-django-setting" RABBITMQ_PASSWORD)