mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-05 22:04:58 +01:00
Runs update.sh
This commit is contained in:
parent
e2e521023f
commit
b23910be92
12 changed files with 12 additions and 0 deletions
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
Loading…
Reference in a new issue