mirror of https://github.com/zulip/zulip.git
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)
This commit is contained in:
parent
9b9c43fd50
commit
e1a8f511fe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue