summaryrefslogtreecommitdiffstats
path: root/main/darkhttpd/darkhttpd.logrotate
blob: c61a60fd87cf2b9a0605dd563e45703cb6ab1aaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/var/log/darkhttpd/access.log {
	monthly
	missingok
	copytruncate
	rotate 7
	compress
	notifempty
	sharedscripts
        postrotate
		if /sbin/rc-service --quiet darkhttpd status; then \
			/sbin/rc-service --quiet darkhttpd restart;\
		fi
        endscript
}