diff options
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 )" |