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