Package changes:
-apache2 2.4.46-4+deb.sury.org+1+ubuntu20.04.1+deb.sury.org+5 amd64
-apache2-bin 2.4.46-4+deb.sury.org+1+ubuntu20.04.1+deb.sury.org+5 amd64
-apache2-data 2.4.46-4+deb.sury.org+1+ubuntu20.04.1+deb.sury.org+5 all
-apache2-utils 2.4.46-4+deb.sury.org+1+ubuntu20.04.1+deb.sury.org+5 amd64
+apache2 2.4.48-1+ubuntu20.04.1+deb.sury.org+1 amd64
+apache2-bin 2.4.48-1+ubuntu20.04.1+deb.sury.org+1 amd64
+apache2-data 2.4.48-1+ubuntu20.04.1+deb.sury.org+1 all
+apache2-utils 2.4.48-1+ubuntu20.04.1+deb.sury.org+1 amd64
maybe chmod 0644 'ldap/schema/amavis.schema'
maybe chmod 0644 'legal'
maybe chmod 0755 'letsencrypt'
+maybe chmod 0600 'letsencrypt/.certbot.lock'
maybe chmod 0644 'letsencrypt/.updated-options-ssl-apache-conf-digest.txt'
maybe chmod 0700 'letsencrypt/accounts'
maybe chmod 0700 'letsencrypt/accounts/acme-staging-v02.api.letsencrypt.org'
/var/log/apache2/*.log {
- daily
- missingok
- rotate 14
- compress
- delaycompress
- notifempty
- create 640 root adm
- sharedscripts
- postrotate
- if invoke-rc.d apache2 status > /dev/null 2>&1; then \
- invoke-rc.d apache2 reload > /dev/null 2>&1; \
- fi;
- endscript
- prerotate
- if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
- run-parts /etc/logrotate.d/httpd-prerotate; \
- fi; \
- endscript
+ daily
+ missingok
+ rotate 14
+ compress
+ delaycompress
+ notifempty
+ create 640 root adm
+ sharedscripts
+ prerotate
+ if [ -d /etc/logrotate.d/httpd-prerotate ]; then
+ run-parts /etc/logrotate.d/httpd-prerotate
+ fi
+ endscript
+ postrotate
+ if pgrep -f ^/usr/sbin/apache2 > /dev/null; then
+ invoke-rc.d apache2 reload
+ fi
+ endscript
}