Merge branch hotfix/v5.6.1 into develop
This commit is contained in:
commit
c5d15c3be7
|
@ -465,14 +465,16 @@ if [ ${ONLYOFFICE_DATA_CONTAINER_HOST} = "localhost" ]; then
|
||||||
rm -rf /var/run/rabbitmq
|
rm -rf /var/run/rabbitmq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${REDIS_SERVER_HOST} != "localhost" ]; then
|
if [ ${REDIS_ENABLED} = "true" ]; then
|
||||||
update_redis_settings
|
if [ ${REDIS_SERVER_HOST} != "localhost" ]; then
|
||||||
elif [ ${REDIS_ENABLED} = "true" ]; then
|
update_redis_settings
|
||||||
# change rights for redis directory
|
else
|
||||||
chown -R redis:redis ${REDIS_DATA}
|
# change rights for redis directory
|
||||||
chmod -R 750 ${REDIS_DATA}
|
chown -R redis:redis ${REDIS_DATA}
|
||||||
|
chmod -R 750 ${REDIS_DATA}
|
||||||
|
|
||||||
LOCAL_SERVICES+=("redis-server")
|
LOCAL_SERVICES+=("redis-server")
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# no need to update settings just wait for remote data
|
# no need to update settings just wait for remote data
|
||||||
|
|
Loading…
Reference in a new issue