Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-06-14 09:45:34 +0300
committernachoparker <nacho@ownyourbits.com>2018-06-14 09:47:13 +0300
commitcef7cb456ba2ad1c75aea8897744f42a7f524026 (patch)
treecdfd48272a9291fddf0667d18bc252a21c90cbee /etc
parent598e1c87e5677961ef2e133abc460fd396b395a4 (diff)
nc-restore: fix redis restart in dockerv0.56.22
Diffstat (limited to 'etc')
-rw-r--r--etc/ncp-config.d/nc-restore.sh2
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