summaryrefslogtreecommitdiff
path: root/community-testing/nginx/nginx.logrotate
blob: d490d5d9b1d054aa98220b0c0e4871f1a49c4ff5 (plain)
1
2
3
4
5
6
7
8
/var/log/nginx/*.log {
	missingok
	sharedscripts
	compress
	postrotate
		test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid`
	endscript
}