finish the RabbitMQ-ectomy

This commit is contained in:
Grant Limberg
2020-05-13 09:46:41 -07:00
parent c9f942f79b
commit 15c0c1db39
2 changed files with 10 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ if [ "$ZT_USE_REDIS" == "true" ]; then
exit 1
fi
if [ -z "$ZT_REDIS_CLUSTER_MODE" ];
if [ -z "$ZT_REDIS_CLUSTER_MODE" ]; then
echo '*** FAILED: ZT_REDIS_CLUSTER_MODE environment variable not defined'
exit 1
fi
@@ -49,6 +49,8 @@ if [ "$ZT_USE_REDIS" == "true" ]; then
\"password\": \"${ZT_REDIS_PASSWORD}\"
}
"
else
REDIS="\"redis\": {}"
fi
mkdir -p /var/lib/zerotier-one