Check empty

This commit is contained in:
Christos Alexiou 2024-08-08 15:56:28 +03:00
parent f2c61d616f
commit 691803e90a
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ ln -s ${DATA_DIR}/.env /worker/.env
# make these directories in runner, incase of mount
mkdir -p ${DATA_DIR}/minio
chown -R couchdb:couchdb ${DATA_DIR}/couch
if [[ -z "${REDIS_PASSWORD}" ]]; then
if [[ -z "${REDIS_PASSWORD}" || "${REDIS_PASSWORD}" = "" ]]; then
redis-server --requirepass $REDIS_PASSWORD > /dev/stdout 2>&1 &
else
redis-server > /dev/stdout 2>&1 &