File: //proc/self/root/etc/logrotate.d/apache2
# THIS FILE IS AUTOMATICALLY DISTRIBUTED BY PUPPET. ANY CHANGES WILL BE
# OVERWRITTEN.
/home/log/apache2*/*log {
compress
compresscmd /usr/bin/xz
create 640 root support
daily
dateext
dateformat -%Y%m%d
missingok
rotate 14
sharedscripts
uncompresscmd /usr/bin/unxz
postrotate
/bin/systemctl try-reload-or-restart apache2@php52.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php53.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php54.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php55.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php56.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php70.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php71.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php72.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php73.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php74.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php80.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php81.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php82.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php83.service > /dev/null
/bin/systemctl try-reload-or-restart apache2@php84.service > /dev/null
endscript
}