aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tengine/tengine.logrotate
blob: 7778b1108b14bd02d50bf157a617511e3152f6a1 (plain)
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
		kill -USR1 `cat /var/run/nginx.pid`
	endscript
}