aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tengine/tengine.logrotate
blob: e4d33553a5952baa5a2956d9585bd980450eb021 (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/tengine/*.log {
	missingok
	sharedscripts
	postrotate
		test -r /var/run/tengine.pid && kill -USR1 `cat /var/run/tengine.pid`
	endscript
}