aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx-lua
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-28 11:07:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-28 11:07:58 +0000
commit580f2e2415422dadc2427f09b6ed6c493b7b9873 (patch)
tree942b0361cc80ce65680d33411b66ad5c00f704f0 /main/nginx-lua
parent873f61f75959796af7919d4020b432a5b4efa513 (diff)
downloadaports-580f2e2415422dadc2427f09b6ed6c493b7b9873.tar.bz2
aports-580f2e2415422dadc2427f09b6ed6c493b7b9873.tar.xz
main/nginx-lua: fix pid and lock path
Diffstat (limited to 'main/nginx-lua')
-rw-r--r--main/nginx-lua/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/nginx-lua/APKBUILD b/main/nginx-lua/APKBUILD
index 7c8ed3db12..14bc2efc21 100644
--- a/main/nginx-lua/APKBUILD
+++ b/main/nginx-lua/APKBUILD
@@ -9,7 +9,7 @@ pkgver=1.8.0
_ngx_rtmp_ver=1.1.7
_ngx_devel_kit_ver=0.2.19
_ngx_lua_ver=0.9.16
-pkgrel=1
+pkgrel=2
pkgdesc="lightweight HTTP and reverse proxy server with Lua support"
url="http://www.nginx.org"
arch="all"
@@ -53,9 +53,9 @@ build() {
./configure \
--prefix=$_datadir \
--sbin-path=/usr/sbin/$_pkgname \
- --conf-path=/etc/$_pkgname/$_pkgname.conf \
- --pid-path=/var/run/$_pkgname.pid \
- --lock-path=/var/run/$_pkgname.lock \
+ --conf-path=$_confdir/$_pkgname.conf \
+ --pid-path=$_rundir/$_pkgname.pid \
+ --lock-path=$_rundir/$_pkgname.lock \
--error-log-path=$_logdir/error.log \
--http-log-path=$_logdir/access.log \
--http-client-body-temp-path=$_tmpdir/client_body \