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