Actions
DebianBrokenLogrotate » History » Revision 1
Revision 1/2
| Next »
nitrox, 2009-04-20 16:41
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 over 15 years ago · 1 revisions