summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2016-02-21 20:13:34 +0100
committerJason A. Donenfeld <zx2c4@gentoo.org>2016-02-21 20:13:59 +0100
commit3e8c33b631035683ce988e0988a06661524164f5 (patch)
tree72ed3ab0dbcf07e1d4dfe851bf12b5b898b08f48 /www-servers/nginx/files
parentxfce-extra/xfce4-composite-editor: QA fix MissingSlotDep (diff)
downloadgentoo-3e8c33b631035683ce988e0988a06661524164f5.tar.gz
gentoo-3e8c33b631035683ce988e0988a06661524164f5.tar.bz2
gentoo-3e8c33b631035683ce988e0988a06661524164f5.zip
www-servers/nginx: use the nginx utility command for log reopening
Diffstat (limited to 'www-servers/nginx/files')
-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 a78ed7a1a79c..23665e5f204a 100644
--- a/www-servers/nginx/files/nginx.logrotate-r1
+++ b/www-servers/nginx/files/nginx.logrotate-r1
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -7,6 +7,6 @@
delaycompress
sharedscripts
postrotate
- test -r /run/nginx.pid && kill -USR1 `cat /run/nginx.pid`
+ nginx -s reopen
endscript
}