summaryrefslogtreecommitdiff
path: root/network/lighttpd/conf/lighttpd.logrotate
blob: 1a44bd9aa59f2c0f303d6e67923d8dadabaaad51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/var/log/lighttpd/*.log {
	su @USER@ @GROUP@
	daily
	missingok
	copytruncate
	rotate 7
	create 0644 @USER@ @GROUP@
	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
}