diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-06-14 09:45:34 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-06-14 09:47:13 +0300 |
commit | cef7cb456ba2ad1c75aea8897744f42a7f524026 (patch) | |
tree | cdfd48272a9291fddf0667d18bc252a21c90cbee /etc | |
parent | 598e1c87e5677961ef2e133abc460fd396b395a4 (diff) |
nc-restore: fix redis restart in dockerv0.56.22
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ncp-config.d/nc-restore.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/ncp-config.d/nc-restore.sh b/etc/ncp-config.d/nc-restore.sh index aff146f4..d0ec3ddb 100644 --- a/etc/ncp-config.d/nc-restore.sh +++ b/etc/ncp-config.d/nc-restore.sh @@ -76,7 +76,7 @@ sed -i "s|'dbpassword' =>.*|'dbpassword' => '$DBPASSWD',|" /var/www/nextcloud/co REDISPASS="$( grep "^requirepass" /etc/redis/redis.conf | cut -f2 -d' ' )" [[ "$REDISPASS" != "" ]] && \ sed -i "s|'password'.*|'password' => '$REDISPASS',|" /var/www/nextcloud/config/config.php -service redis restart +service redis-server restart ## RE-CREATE DATABASE TABLE |