Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/nginx: use CacheDirectory
Date: Tue, 5 Jan 2021 23:32:48 +0100	[thread overview]
Message-ID: <20210105233248.488eca66@windsurf.home> (raw)
In-Reply-To: <20200123083641.3808-1-p.debruijn@unilogic.nl>

On Thu, 23 Jan 2020 09:36:41 +0100
Pascal de Bruijn <p.debruijn@unilogic.nl> wrote:

> 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 similar construct for /var/tmp
> 
> Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
> ---
>  package/nginx/S50nginx      |  2 +-
>  package/nginx/nginx.mk      | 10 +++++-----
>  package/nginx/nginx.service |  3 ++-
>  3 files changed, 8 insertions(+), 7 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      reply	other threads:[~2021-01-05 22:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-23  8:36 [Buildroot] [PATCH] package/nginx: use CacheDirectory Pascal de Bruijn
2021-01-05 22:32 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210105233248.488eca66@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox