commit: 3e8c33b631035683ce988e0988a06661524164f5 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> AuthorDate: Sun Feb 21 19:13:34 2016 +0000 Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org> CommitDate: Sun Feb 21 19:13:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e8c33b6
www-servers/nginx: use the nginx utility command for log reopening 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 a78ed7a..23665e5 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 }