summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-04-10 02:39:18 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-04-10 02:39:18 +0200
commit1485d02fee0d8d7c5c22f3bedab637af75a9434e (patch)
tree934af290b7a618a8f5f3c19b88fec9204c8902e2 /www-servers/nginx
parentdev-util/cucumber-rails: Remove ruby19 (diff)
downloadgentoo-1485d02fee0d8d7c5c22f3bedab637af75a9434e.tar.gz
gentoo-1485d02fee0d8d7c5c22f3bedab637af75a9434e.tar.bz2
gentoo-1485d02fee0d8d7c5c22f3bedab637af75a9434e.zip
Revert "www-servers/nginx: use the nginx utility command for log reopening"
Gentoo Bug: #576558 This reverts commit 3e8c33b631035683ce988e0988a06661524164f5.
Diffstat (limited to 'www-servers/nginx')
-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
}