forked from 0x2620/pandora
change password in case user already existed
This commit is contained in:
parent
d00cf08638
commit
2779d8d099
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ fi
|
|||
if [ "$RABBITMQ" == "local" ]; then
|
||||
RABBITPWD=$(pwgen -n 16 -1)
|
||||
rabbitmqctl add_user pandora $RABBITPWD
|
||||
rabbitmqctl change_password pandora $RABBITPWD
|
||||
rabbitmqctl add_vhost /pandora
|
||||
rabbitmqctl set_permissions -p /pandora pandora ".*" ".*" ".*"
|
||||
CELERY_BROKER_URL="amqp://pandora:$RABBITPWD@localhost:5672//pandora"
|
||||
|
|
Loading…
Reference in a new issue