/historical/setup-rabbitmq.sh

https://bitbucket.org/lindenlab/apiary/ · Shell · 11 lines · 6 code · 4 blank · 1 comment · 0 complexity · 1f35f875874a1d39ac1062ef96ae1c9a MD5 · raw file

  1. #!/bin/sh
  2. RMQCTL=rabbitmqctl
  3. $RMQCTL delete_vhost /hive
  4. $RMQCTL delete_user hive
  5. $RMQCTL add_user hive resistanceisfutile
  6. $RMQCTL add_vhost /hive
  7. $RMQCTL set_permissions -p /hive hive '.*' '.*' '.*'