diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-05-11 18:57:04 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-05-11 20:13:52 +0300 |
commit | 758908128a0837304f54e58846b3e3ae4bb29cb0 (patch) | |
tree | 3268124f1893dc9a7e4b1b47ead416aae7426d67 /update.sh | |
parent | 1be5ddda1d75e5de95e52c0b51d8ad61beff25ae (diff) |
fix logrotate filesv1.12.2
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 )" |