aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx/nginx.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'main/nginx/nginx.logrotate')
-rw-r--r--main/nginx/nginx.logrotate6
1 files changed, 1 insertions, 5 deletions
diff --git a/main/nginx/nginx.logrotate b/main/nginx/nginx.logrotate
index 00e5a94eb5..c07e6bcf42 100644
--- a/main/nginx/nginx.logrotate
+++ b/main/nginx/nginx.logrotate
@@ -1,12 +1,8 @@
-# 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`
+ /etc/init.d/nginx --quiet --ifstarted reopen
endscript
}