aboutsummaryrefslogtreecommitdiffstats
path: root/main/mini_httpd/mini_httpd.logrotate
blob: aff5ca0c28a9fe86c81a1bce36ea0a8090db9db5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/var/log/mini_httpd/*.log {
	weekly
	missingok
	copytruncate
	rotate 7
	compress
	notifempty
	sharedscripts
	postrotate
	for i in /run/mini_httpd/*.pid; do \
		/etc/init.d/$(basename $i .pid) --quiet --ifstarted reload; \
	done;
	endscript
}