etc-gentoo/logrotate.d/nginx

13 lines
264 B
Plaintext
Raw Normal View History

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
/var/log/nginx/*_log {
missingok
delaycompress
sharedscripts
postrotate
test -r /run/nginx.pid && kill -USR1 `cat /run/nginx.pid`
endscript
}