1a145d8a01
Change-Id: Ifd8fc361d8a7e278134f671910e8c122c9842386 Partially-Implements: blueprint remove-config-internal
8 lines
219 B
Bash
8 lines
219 B
Bash
#!/bin/bash
|
|
|
|
function set_rabbitmq_cookie {
|
|
echo "${RABBITMQ_CLUSTER_COOKIE}" > /var/lib/rabbitmq/.erlang.cookie
|
|
chown rabbitmq: /var/lib/rabbitmq/.erlang.cookie
|
|
chmod 400 /var/lib/rabbitmq/.erlang.cookie
|
|
}
|