~alpine/aports

1

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

Details
Message ID
<1453883981-10566-1-git-send-email-valery.kartel@gmail.com>
Sender timestamp
1453883981
DKIM signature
missing
Download raw message
Patch: +4 -7
- 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
@@ -1,7 +1,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Valery Kartel <valery.kartel@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
@@ -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@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

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

Details
Message ID
<CAKTwcDO=hoaF+qVwu3qCMKdiGPSVcXJ6eA9Q+87jNxfQ_t6FnA@mail.gmail.com>
In-Reply-To
<1453883981-10566-1-git-send-email-valery.kartel@gmail.com> (view parent)
Sender timestamp
1453884178
DKIM signature
missing
Download raw message
This patch is not needed, and it contains an error.

2016-01-27 10:39 GMT+02:00 Valery Kartel <valery.kartel@gmail.com>:

> - 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
> @@ -1,7 +1,8 @@
>  # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
> +# Contributor: Valery Kartel <valery.kartel@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
> @@ -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
>
>
Reply to thread Export thread (mbox)