aboutsummaryrefslogtreecommitdiff
path: root/network/lighttpd/lighttpd.logrotate
blob: 598650a1f22db93a788111ce2fb81d46406f2f84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/var/log/lighttpd/*.log {
	daily
	missingok
	copytruncate
	rotate 7
	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
}