commit: 1485d02fee0d8d7c5c22f3bedab637af75a9434e
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 10 00:39:18 2016 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Apr 10 00:39:18 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1485d02f
Revert "www-servers/nginx: use the nginx utility command for log reopening"
Gentoo Bug: #576558
This reverts commit 3e8c33b631035683ce988e0988a06661524164f5.
www-servers/nginx/files/nginx.logrotate-r1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www-servers/nginx/files/nginx.logrotate-r1
b/www-servers/nginx/files/nginx.logrotate-r1
index 23665e5..a78ed7a 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
}