aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx-lua/nginx.logrotate
blob: 00e5a94eb568b8c23e1aab5669cb243d846ed1ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright 1999-2010 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.1 2010/01/03 20:29:40 djc Exp $

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