Actions
Logrotate sample for Debian/Ubuntu¶
Until debian fixes the broken "/etc/logrotate.d/lighttpd" script you should use this one:
/var/log/lighttpd/*.log {
daily
missingok
copytruncate
rotate 7
compress
notifempty
sharedscripts
postrotate
if [ -f /var/run/lighttpd.pid ]; then \
/bin/kill -HUP $(</var/run/lighttpd.pid); \
fi;
endscript
}
The same applies to Ubuntu.
References:- https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/74458
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380080
If you are in contact with their developers send them the link to this page please! :)
Updated by nitrox about 13 years ago · 2 revisions