7 lines
188 B
Plaintext
7 lines
188 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
if [ -z "$(rabbitmqctl -q list_users | grep ^alert_user)" ] ; then
|
||
|
rabbitmqctl add_user alert_user alertme
|
||
|
fi
|
||
|
rabbitmqctl set_permissions -p '/' alert_user '.*' '.*' '.*'
|