aboutsummaryrefslogblamecommitdiffstats
path: root/main/mini_httpd/mini_httpd.logrotate
blob: aff5ca0c28a9fe86c81a1bce36ea0a8090db9db5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                           








                                            
                                                                             

                 
 
/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
}