# Apache2 logrotate snipet for Gentoo Linux # Originally contributed by Chuck Short # /var/log/apache2/*log { missingok notifempty sharedscripts postrotate if test -d /run/systemd/system ; then systemctl reload apache2.service > /dev/null 2>&1 || true else /etc/init.d/apache2 reload > /dev/null 2>&1 || true fi endscript }