zulip/scripts/setup/configure-rabbitmq

10 lines
324 B
Bash
Executable File

#!/bin/sh
#
# Delete the "guest" default user and replace it with a Zulip user
# with a real password
rabbitmqctl delete_user guest
rabbitmqctl add_user zulip $($(dirname $0)/../../bin/get-django-setting RABBITMQ_PASSWORD)
rabbitmqctl set_user_tags zulip administrator
rabbitmqctl set_permissions -p / zulip '.*' '.*' '.*'