[arch-commits] Commit in nginx/trunk (PKGBUILD logrotate)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Oct 13 06:55:45 UTC 2014
Date: Monday, October 13, 2014 @ 08:55:44
Author: bpiotrowski
Revision: 224257
upgpkg: nginx 1.6.2-2
use http:log for log rotation (FS#42169)
Modified:
nginx/trunk/PKGBUILD
nginx/trunk/logrotate
-----------+
PKGBUILD | 4 ++--
logrotate | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-13 06:36:07 UTC (rev 224256)
+++ PKGBUILD 2014-10-13 06:55:44 UTC (rev 224257)
@@ -7,7 +7,7 @@
pkgname=nginx
pkgver=1.6.2
-pkgrel=1
+pkgrel=2
pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
arch=('i686' 'x86_64')
url='http://nginx.org'
@@ -30,7 +30,7 @@
logrotate)
md5sums=('d1b55031ae6e4bce37f8776b94d8b930'
'5dd4d09914a4403b9df778ec1d66167c'
- '3441ce77cdd1aab6f0ab7e212698a8a7')
+ '19a26a61c8afe78defb8b4544f79a9a0')
build() {
cd $pkgname-$pkgver
Modified: logrotate
===================================================================
--- logrotate 2014-10-13 06:36:07 UTC (rev 224256)
+++ logrotate 2014-10-13 06:55:44 UTC (rev 224257)
@@ -1,9 +1,10 @@
/var/log/nginx/*log {
missingok
create 640 http log
+ su http log
sharedscripts
compress
postrotate
- test ! -r /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid`
+ test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid`
endscript
}
More information about the arch-commits
mailing list