logrotate lighttpd log

From WebHostingNeeds.com
Jump to: navigation, search
[[email protected] home]# cat /etc/logrotate.d/lighttpd
/var/log/lighttpd/*.log {
daily
size 200M
rotate 5
missingok
copytruncate
notifempty
sharedscripts
postrotate
/etc/init.d/lighttpd reload
endscript
}

[[email protected] home]#