View Single Post

  #1 (permalink)  
Old 03-07-2007, 08:07 AM
muks muks is offline
Junior Member
User
 
Join Date: Mar 2007
Posts: 13
Rep Power: 0
muks
Default logrotate not working

I followed the tutorial and this is what my /etc/logrotate.d/lighttpd

Code:
/var/log/lighttpd/*.log /var/log/lighttpd/mydomain.com/*.log /var/log/lighttpd/forums.mydomain.com/*.log {
	missingok
	copytruncate
	rotate 7
	compress
	notifempty
	sharedscripts
	postrotate
		/etc/init.d/lighttpd reload
	endscript
}
anything wrong with my setting?
Reply With Quote