configure-rabbitmq: Fetch the rabbitmq password from the Django settings

(imported from commit b4c3f1a7ce99f40e4cb72094b2bc646ce50bc743)
This commit is contained in:
Zev Benjamin 2013-10-24 16:51:12 -04:00
parent ec21275b19
commit 55caff871b
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@
# with a real password
rabbitmqctl delete_user guest
rabbitmqctl add_user humbug 'xxxxxxxxxxxxxxxx'
rabbitmqctl add_user humbug $($(dirname $0)/../tools/get-django-setting RABBITMQ_PASSWORD)
rabbitmqctl set_user_tags humbug administrator
rabbitmqctl set_permissions -p / humbug '.*' '.*' '.*'