finish the RabbitMQ-ectomy

This commit is contained in:
Grant Limberg 2020-05-13 09:46:41 -07:00
parent c9f942f79b
commit 15c0c1db39
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
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