saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
12
logrotate.d/nginx
Normal file
12
logrotate.d/nginx
Normal file
@@ -0,0 +1,12 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx.logrotate-r1,v 1.1 2014/06/19 09:52:24 dev-zero Exp $
|
||||
|
||||
/var/log/nginx/*_log {
|
||||
missingok
|
||||
delaycompress
|
||||
sharedscripts
|
||||
postrotate
|
||||
test -r /run/nginx.pid && kill -USR1 `cat /run/nginx.pid`
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user