Mail archive
alpine-aports

[alpine-aports] [PATCH 3/3] main/nginx-initscripts: upgrade to 1.8.1

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Wed, 27 Jan 2016 10:39:41 +0200

- cleanups in logrotate
---
 main/nginx-initscripts/APKBUILD        | 3 ++-
 main/nginx-initscripts/nginx.logrotate | 8 ++------
 2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/main/nginx-initscripts/APKBUILD b/main/nginx-initscripts/APKBUILD
index 3d263bc..be9ab6f 100644
--- a/main/nginx-initscripts/APKBUILD
+++ b/main/nginx-initscripts/APKBUILD
_at_@ -1,7 +1,8 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
+# Contributor: Valery Kartel <valery.kartel_at_gmail.com>
 
 pkgname=nginx-initscripts
-pkgver=1.8.0
+pkgver=1.8.1
 pkgrel=0
 pkgdesc="initscripts and logrotate config for nginx"
 url="http://www.nginx.org"
diff --git a/main/nginx-initscripts/nginx.logrotate b/main/nginx-initscripts/nginx.logrotate
index 00e5a94..75815c9 100644
--- a/main/nginx-initscripts/nginx.logrotate
+++ b/main/nginx-initscripts/nginx.logrotate
_at_@ -1,12 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx.logrotate,v 1.1 2010/01/03 20:29:40 djc Exp $
-
-/var/log/nginx/*.log {
+/var/log/nginx/log {
 	missingok
 	sharedscripts
 	postrotate
-		test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid`
+		/etc/init.d/nginx --quiet --ifstarted reload
 	endscript
 }
 
-- 
2.7.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Jan 27 2016 - 10:39:41 GMT