blob: 76f0ef3ff584b92137f966dd317613f7ac5067a0 [file] [log] [blame]
# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate,v 1.2 2006/05/30 19:49:29 bangert Exp $
# lighttpd logrotate script for Gentoo
/var/log/lighttpd/*.log {
daily
missingok
copytruncate
rotate 7
compress
notifempty
sharedscripts
postrotate
if [ -f /var/run/lighttpd.pid ]; then \
/etc/init.d/lighttpd reload > /dev/null 2>&1 || true ; \
fi;
endscript
}