summaryrefslogtreecommitdiffstats
path: root/network/lighttpd/lighttpd.logrotate
blob: 65c13f36c8b8adcc3d4e1e05d2537e590634d4f5 (plain)
/var/log/lighttpd/*.log {
	daily
	missingok
	copytruncate
	rotate 7
	create 0644 lighttpd lighttpd
	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
}