summarylogtreecommitdiffstats
path: root/logrotate
blob: 821aa210dd55ed2723d609ca824816be4acc4e40 (plain)
1
2
3
4
5
6
7
8
9
10
/var/log/nginx/*log {
	missingok
	notifempty
	create 640 http root
	sharedscripts
	compress
	postrotate
		test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid`
	endscript
}