summaryrefslogtreecommitdiff
blob: c9d4c5aed2ce2cf57be5c52e34f229d735811835 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx.logrotate,v 1.2 2011/04/08 08:32:20 hollow Exp $

/var/log/nginx/*_log {
	missingok
	sharedscripts
	postrotate
		test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid`
	endscript
}