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
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-05-11 18:57:04 +0300
committernachoparker <nacho@ownyourbits.com>2019-05-11 20:13:52 +0300
commit758908128a0837304f54e58846b3e3ae4bb29cb0 (patch)
tree3268124f1893dc9a7e4b1b47ead416aae7426d67 /update.sh
parent1be5ddda1d75e5de95e52c0b51d8ad61beff25ae (diff)
fix logrotate filesv1.12.2
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index fdc012ce..d699dbff 100755
--- a/update.sh
+++ b/update.sh
@@ -228,6 +228,9 @@ EOF
chmod 700 /home/www/ncp-backup-launcher.sh
sed -i 's|www-data ALL = NOPASSWD: .*|www-data ALL = NOPASSWD: /home/www/ncp-launcher.sh , /home/www/ncp-backup-launcher.sh, /sbin/halt, /sbin/reboot|' /etc/sudoers
+ # fix logrotate files
+ chmod 0444 /etc/logrotate.d/*
+
# remove redundant opcache configuration. Leave until update bug is fixed -> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815968
# Bug #416 reappeared after we moved to php7.2 and debian buster packages. (keep last)
[[ "$( ls -l /etc/php/7.2/fpm/conf.d/*-opcache.ini | wc -l )" -gt 1 ]] && rm "$( ls /etc/php/7.2/fpm/conf.d/*-opcache.ini | tail -1 )"