From 42bc4bc1c01d906a86e1493f8142b96c7efc0e9e Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Mon, 12 Oct 2015 12:24:48 +0200 Subject: [PATCH] Fixes for the RABBITMQ_HOST --- entrypoint.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index d49ef05..4b03566 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -115,7 +115,10 @@ CACHES = { } EOF # Rabbitmq settings - sed -i "s~pika.ConnectionParameters('localhost',~pika.ConnectionParameters('$RABBITMQ_HOST',~g" + sed -i "s~pika.ConnectionParameters('localhost',~pika.ConnectionParameters(settings.RABBITMQ_HOST,~g" "$ZULIP_CURRENT_DEPLOY/zerver/lib/queue.py" + cat >> "$ZULIP_ZPROJECT_SETTINGS" <> "$ZULIP_ZPROJECT_SETTINGS" <