[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71949: [PATCH] services: web: Pass run-directory to nginx's actions.
From: |
Ludovic Courtès |
Subject: |
bug#71949: [PATCH] services: web: Pass run-directory to nginx's actions. |
Date: |
Wed, 10 Jul 2024 16:05:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Tomas Volf <~@wolfsden.cz> skribis:
> Reloading nginx lead to (harmless, yet annoying) alert being logged:
>
> nginx: [alert] could not open error log file: open()
> "/gnu/store/9l2lznlqpjcm79znq1xas378maqgysc8-nginx-1.27.0/logs/error.log"
> failed (2: No such file or directory)
>
> Since there already is prepared runtime directory for nginx, all that was
> missing was to also pass it to the reload and reopen invocations.
>
> * gnu/services/web.scm (nginx-shepherd-service)[reload, reopen]: Pass -p flag
> with run-directory as value.
>
> Change-Id: Id5c558d65def8c1fe5cf581a4a370508ac05e550
Applied, thanks!