From e1a8f511fe589a1ff644eacd210b759d9be55d58 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 12 Nov 2013 20:37:29 -0500 Subject: [PATCH] configure-rabbittmq: Make it work if you run it a second time. This is to make it easier to just run the install script again if it fails. (imported from commit 65deb9d001e061d58deecd44c4683231de76dc79) --- scripts/setup/configure-rabbitmq | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/setup/configure-rabbitmq b/scripts/setup/configure-rabbitmq index 6885fdf7fe..18ba83effe 100755 --- a/scripts/setup/configure-rabbitmq +++ b/scripts/setup/configure-rabbitmq @@ -3,6 +3,7 @@ # Delete the "guest" default user and replace it with a Zulip user # with a real password +rabbitmqctl delete_user zulip || true rabbitmqctl delete_user guest rabbitmqctl add_user zulip $($(dirname $0)/../../bin/get-django-setting RABBITMQ_PASSWORD) rabbitmqctl set_user_tags zulip administrator