diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-28 02:16:03 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-28 02:44:59 +0200 |
commit | d6d624a149ca62af8679baf9cc99ce1354c190f0 (patch) | |
tree | 7f41065a4578564339749fc65bc774b93c25d48b /main/nginx | |
parent | d91597285e8a2d64844aff610944cb4b58b3a4e1 (diff) | |
download | aports-d6d624a149ca62af8679baf9cc99ce1354c190f0.tar.bz2 aports-d6d624a149ca62af8679baf9cc99ce1354c190f0.tar.xz |
main/nginx: move /var/lib/nginx/tmp to /var/tmp/nginx
Diffstat (limited to 'main/nginx')
-rw-r--r-- | main/nginx/APKBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD index a78a5090cb..c4ce2e3d7c 100644 --- a/main/nginx/APKBUILD +++ b/main/nginx/APKBUILD @@ -5,7 +5,7 @@ pkgname=nginx pkgver=1.12.0 -pkgrel=0 +pkgrel=1 pkgdesc="HTTP and reverse proxy server (stable version)" url="http://www.nginx.org/en" arch="all" @@ -155,11 +155,11 @@ build() { --conf-path=/etc/$pkgname/$pkgname.conf \ --pid-path=/run/$pkgname/$pkgname.pid \ --lock-path=/run/$pkgname/$pkgname.lock \ - --http-client-body-temp-path=/var/lib/$pkgname/tmp/client_body \ - --http-proxy-temp-path=/var/lib/$pkgname/tmp/proxy \ - --http-fastcgi-temp-path=/var/lib/$pkgname/tmp/fastcgi \ - --http-uwsgi-temp-path=/var/lib/$pkgname/tmp/uwsgi \ - --http-scgi-temp-path=/var/lib/$pkgname/tmp/scgi \ + --http-client-body-temp-path=/var/tmp/$pkgname/client_body \ + --http-proxy-temp-path=/var/tmp/$pkgname/proxy \ + --http-fastcgi-temp-path=/var/tmp/$pkgname/fastcgi \ + --http-uwsgi-temp-path=/var/tmp/$pkgname/uwsgi \ + --http-scgi-temp-path=/var/tmp/$pkgname/scgi \ --with-perl_modules_path=/usr/lib/perl5/vendor_perl \ \ --user=$pkgusers \ @@ -246,7 +246,7 @@ package() { install -dm755 ./etc/$pkgname/modules install -dm750 -o $pkgusers -g $_grp_ngx ./var/lib/$pkgname - install -dm700 -o $pkgusers -g $_grp_ngx ./var/lib/$pkgname/tmp + install -dm700 -o $pkgusers -g $_grp_ngx ./var/tmp/$pkgname install -dm755 -g $_grp_www ./var/www/localhost/htdocs install -dm755 ./var/log @@ -254,6 +254,7 @@ package() { ln -sf /$_modules_dir ./var/lib/$pkgname/modules ln -sf /var/log/$pkgname ./var/lib/$pkgname/logs + ln -sf /var/tmp/$pkgname ./var/lib/$pkgname/tmp ln -sf /run/$pkgname ./var/lib/$pkgname/run rm -rf ./run ./etc/$pkgname/*.default |