Save passwd in /var/lib/juju instead of /var/run/juju.

This commit is contained in:
Adam Gandelman 2012-02-01 15:27:36 -08:00
parent a4cbb0e34e
commit bfbc6cd436
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ function amqp_changed() {
juju-log "rabbitmq-server: RABBIT_USER||VHOST not yet received from peer."
exit 0
fi
PASSWD_FILE="/var/run/juju/$RABBIT_USER.passwd"
PASSWD_FILE="/var/lib/juju/$RABBIT_USER.passwd"
if [[ -e $PASSWD_FILE ]] ; then
PASSWORD=$(cat $PASSWD_FILE)
else