finish the RabbitMQ-ectomy
This commit is contained in:
parent
c9f942f79b
commit
15c0c1db39
2 changed files with 10 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue