summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-11-25 10:54:18 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-11-25 11:02:17 -0500
commitd42d1e7af01f6ec94f1bccd4b45332138d8d1b5b (patch)
tree0294239ffb2f4cb095e800fddbfd204164cde17e /pcr
parent03965e9617206cbf040d39b448e6b27de051b1c9 (diff)
pcr/nginx-passenger: reflect logrotate changes in extra/passenger
Diffstat (limited to 'pcr')
-rw-r--r--pcr/nginx-passenger/PKGBUILD4
-rw-r--r--pcr/nginx-passenger/logrotate3
2 files changed, 4 insertions, 3 deletions
diff --git a/pcr/nginx-passenger/PKGBUILD b/pcr/nginx-passenger/PKGBUILD
index abc1ef122..cd94d428c 100644
--- a/pcr/nginx-passenger/PKGBUILD
+++ b/pcr/nginx-passenger/PKGBUILD
@@ -11,7 +11,7 @@ pkgname=nginx-passenger
_nginxver=1.6.2
_passengerver=4.0.53
pkgver=$_nginxver.passenger.$_passengerver
-pkgrel=1
+pkgrel=2
pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
pkgdesc+=" (with Passenger module)"
conflicts=('nginx')
@@ -41,7 +41,7 @@ source=($url/download/nginx-$_nginxver.tar.gz
md5sums=('d1b55031ae6e4bce37f8776b94d8b930'
'385dceac05c10e59a3dab44d188353aa'
'5dd4d09914a4403b9df778ec1d66167c'
- '3441ce77cdd1aab6f0ab7e212698a8a7')
+ '19a26a61c8afe78defb8b4544f79a9a0')
build() {
cd "$srcdir/passenger-release-$_passengerver"
diff --git a/pcr/nginx-passenger/logrotate b/pcr/nginx-passenger/logrotate
index e0fa9ec4c..61237601f 100644
--- a/pcr/nginx-passenger/logrotate
+++ b/pcr/nginx-passenger/logrotate
@@ -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
}