diff options
author | Tomas Volf <~@wolfsden.cz> | 2024-07-05 17:01:20 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-07-10 16:05:10 +0200 |
commit | 01183a77aa9fabe4f949bad60d4f27f067737e1b (patch) | |
tree | f39e796535201dca1969698e0d6f84d7d963655a /gnu.scm | |
parent | 9afa6209eade6400070ce01ac4196b3d9dacc975 (diff) | |
download | guix-01183a77aa9fabe4f949bad60d4f27f067737e1b.tar.gz guix-01183a77aa9fabe4f949bad60d4f27f067737e1b.zip |
services: web: Pass run-directory to nginx's actions.
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
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions