Gentoo Archives: gentoo-commits

From: Jason Donenfeld <zx2c4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/nginx/files/
Date: Sun, 21 Feb 2016 19:14:47
Message-Id: 1456082039.3e8c33b631035683ce988e0988a06661524164f5.zx2c4@gentoo
1 commit: 3e8c33b631035683ce988e0988a06661524164f5
2 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 21 19:13:34 2016 +0000
4 Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 21 19:13:59 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e8c33b6
7
8 www-servers/nginx: use the nginx utility command for log reopening
9
10 www-servers/nginx/files/nginx.logrotate-r1 | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/www-servers/nginx/files/nginx.logrotate-r1 b/www-servers/nginx/files/nginx.logrotate-r1
14 index a78ed7a..23665e5 100644
15 --- a/www-servers/nginx/files/nginx.logrotate-r1
16 +++ b/www-servers/nginx/files/nginx.logrotate-r1
17 @@ -1,4 +1,4 @@
18 -# Copyright 1999-2014 Gentoo Foundation
19 +# Copyright 1999-2016 Gentoo Foundation
20 # Distributed under the terms of the GNU General Public License v2
21 # $Id$
22
23 @@ -7,6 +7,6 @@
24 delaycompress
25 sharedscripts
26 postrotate
27 - test -r /run/nginx.pid && kill -USR1 `cat /run/nginx.pid`
28 + nginx -s reopen
29 endscript
30 }