2010-05-11 21:01:30 +08:00
|
|
|
/var/log/lighttpd/*.log {
|
|
|
|
daily
|
|
|
|
missingok
|
|
|
|
copytruncate
|
|
|
|
rotate 7
|
2010-05-12 23:43:42 +08:00
|
|
|
create 0644 lighttpd lighttpd
|
2010-05-11 21:01:30 +08:00
|
|
|
compress
|
|
|
|
notifempty
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
|
|
|
if [ -x /etc/rc.d/rc.lighttpd -a -f /var/run/lighttpd.pid ]; then
|
|
|
|
/etc/rc.d/rc.lighttpd reload
|
|
|
|
fi
|
|
|
|
endscript
|
|
|
|
}
|