summaryrefslogtreecommitdiff
path: root/network/lighttpd2/conf/lighttpd2.logrotate
blob: 19a2f5abeb7a2b0288289e237ab13bc7295880f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/var/log/lighttpd2/*.log {
	daily
	missingok
	copytruncate
	rotate 7
	create 0644 lighttpd lighttpd
	compress
	notifempty
	su lighttpd lighttpd
        sharedscripts
	postrotate
	if [ -x /etc/rc.d/rc.lighttpd2 -a -f /var/run/lighttpd.pid ]; then
		/etc/rc.d/rc.lighttpd2 reload
	fi
	endscript
}