Make rabbitmq start.sh bashate compliant
Change-Id: Iafd0ead3a10354f12e6a1a15855d3d1402bbc523 Partially-Implements: blueprint bashate-gate
This commit is contained in:
parent
622f20e35b
commit
58bf3f74ac
@ -8,13 +8,13 @@ set -e
|
||||
: ${RABBITMQ_LOG_BASE:=/var/log/rabbitmq}
|
||||
|
||||
sed -i '
|
||||
s|@RABBITMQ_USER@|'"$RABBITMQ_USER"'|g
|
||||
s|@RABBITMQ_PASS@|'"$RABBITMQ_PASS"'|g
|
||||
s|@RABBITMQ_USER@|'"$RABBITMQ_USER"'|g
|
||||
s|@RABBITMQ_PASS@|'"$RABBITMQ_PASS"'|g
|
||||
' /etc/rabbitmq/rabbitmq.config
|
||||
|
||||
sed -i '
|
||||
s|@RABBITMQ_NODENAME@|'"$RABBITMQ_NODENAME"'|g
|
||||
s|@RABBITMQ_LOG_BASE@|'"$RABBITMQ_LOG_BASE"'|g
|
||||
s|@RABBITMQ_NODENAME@|'"$RABBITMQ_NODENAME"'|g
|
||||
s|@RABBITMQ_LOG_BASE@|'"$RABBITMQ_LOG_BASE"'|g
|
||||
' /etc/rabbitmq/rabbitmq-env.conf
|
||||
|
||||
# work around:
|
||||
|
Loading…
x
Reference in New Issue
Block a user