3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

services: nginx: Pass run-directory on config test.

Fixes <https://bugs.gnu.org/36388>.
This fixes error logging errors in the activation script.

* gnu/services/web.scm (nginx-activation): Add "-p" flag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Robert Vollmert 2019-06-30 22:56:25 +02:00 committed by Ludovic Courtès
parent 8161c2d6ce
commit c26f562e5e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -682,7 +682,8 @@ of index files."
(system* (string-append #$nginx "/sbin/nginx")
"-c" #$(or file
(default-nginx-config config))
"-t"))))
"-p" #$run-directory
"-t"))))
(define (nginx-shepherd-service config)
(match-record config