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/bin
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2020-02-28 07:28:44 +0300
committernachoparker <nacho@ownyourbits.com>2020-02-28 10:29:46 +0300
commitf066b03aca70d8739bddb85fab51c59d6825bf2b (patch)
tree5a321e1e119b583261df6fde970308ee108c9312 /bin
parentc0cee6bce659960d1c92b305296439ed6f0c6d44 (diff)
redis: make sure we have the right permissions for conf filev1.20.11
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin')
-rw-r--r--bin/ncp/CONFIG/nc-nextcloud.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ncp/CONFIG/nc-nextcloud.sh b/bin/ncp/CONFIG/nc-nextcloud.sh
index 89f577ca..c572498f 100644
--- a/bin/ncp/CONFIG/nc-nextcloud.sh
+++ b/bin/ncp/CONFIG/nc-nextcloud.sh
@@ -55,6 +55,7 @@ install()
echo "maxmemory $REDIS_MEM" >> $REDIS_CONF
echo 'vm.overcommit_memory = 1' >> /etc/sysctl.conf
+ chown redis: "$REDIS_CONF"
usermod -a -G redis www-data
service redis-server restart