summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/nginx/files/nginx.logrotate-r1')
-rw-r--r--www-servers/nginx/files/nginx.logrotate-r14
1 files changed, 2 insertions, 2 deletions
diff --git a/www-servers/nginx/files/nginx.logrotate-r1 b/www-servers/nginx/files/nginx.logrotate-r1
index 23665e5f204a..a78ed7a1a79c 100644
--- a/www-servers/nginx/files/nginx.logrotate-r1
+++ b/www-servers/nginx/files/nginx.logrotate-r1
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -7,6 +7,6 @@
delaycompress
sharedscripts
postrotate
- nginx -s reopen
+ test -r /run/nginx.pid && kill -USR1 `cat /run/nginx.pid`
endscript
}