package/nginx: use /var/cache/nginx instead of /var/tmp/nginx
authorPascal de Bruijn <p.debruijn@unilogic.nl>
Thu, 23 Jan 2020 08:36:41 +0000 (09:36 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 5 Jan 2021 22:32:03 +0000 (23:32 +0100)
commit856a6518750ca170c27ac9b81dc7c9cc2dbd0bfd
tree90496a085408849debf15e134ee6464e9645f8fe
parentb36ea68b5ad0f89ffd92cac3f91654e180683b1c
package/nginx: use /var/cache/nginx instead of /var/tmp/nginx

move
  http-client-body-temp-path
  http-proxy-temp-path
  http-fastcgi-temp-path
  http-scgi-temp-path
  http-uwsgi-temp-path

from /var/tmp/nginx to /var/cache/nginx

this allows the use of systemd constructs

  LogsDirectory=nginx
  CacheDirectory=nginx

to replace

  ExecStartPre=/usr/bin/mkdir -p /var/log/nginx /var/tmp/nginx

as there isn't a similar construct for /var/tmp.

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/nginx/S50nginx
package/nginx/nginx.mk
package/nginx/nginx.service