enable usage of REDIS_HOST_PASSWORD_FILE (#1325)

pull/1336/head
KnallbertLp 5 years ago committed by GitHub
parent fe85a0ea08
commit e2e521023f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
echo "Configuring Redis as session handler"
{
file_env REDIS_HOST_PASSWORD
echo 'session.save_handler = redis'
# check if redis host is an unix socket path
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then

Loading…
Cancel
Save