summaryrefslogtreecommitdiff
path: root/pcr/nginx-passenger
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/nginx-passenger')
-rw-r--r--pcr/nginx-passenger/PKGBUILD6
-rw-r--r--pcr/nginx-passenger/logrotate3
2 files changed, 5 insertions, 4 deletions
diff --git a/pcr/nginx-passenger/PKGBUILD b/pcr/nginx-passenger/PKGBUILD
index 85eb45b90..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')
@@ -39,9 +39,9 @@ source=($url/download/nginx-$_nginxver.tar.gz
service
logrotate)
md5sums=('d1b55031ae6e4bce37f8776b94d8b930'
- 'ce85ed506a084112eaa015a3642007d9'
+ '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
}