Files
for-gentoo/www-servers/apache/files/apache2-logrotate
T
2014-02-25 10:45:45 +01:00

13 lines
337 B
Plaintext

# Apache2 logrotate snipet for Gentoo Linux
# Contributes by Chuck Short
#
/var/log/apache2/*log {
missingok
notifempty
sharedscripts
postrotate
test -e /run/openrc/softlevel && /etc/init.d/apache2 reload > /dev/null 2>&1 || true
test -e /run/systemd/system && systemctl reload apache2 > /dev/null 2>&1 || true
endscript
}