mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05: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:
parent
8161c2d6ce
commit
c26f562e5e
1 changed files with 2 additions and 1 deletions
|
@ -682,7 +682,8 @@ (define (nginx-activation config)
|
||||||
(system* (string-append #$nginx "/sbin/nginx")
|
(system* (string-append #$nginx "/sbin/nginx")
|
||||||
"-c" #$(or file
|
"-c" #$(or file
|
||||||
(default-nginx-config config))
|
(default-nginx-config config))
|
||||||
"-t"))))
|
"-p" #$run-directory
|
||||||
|
"-t"))))
|
||||||
|
|
||||||
(define (nginx-shepherd-service config)
|
(define (nginx-shepherd-service config)
|
||||||
(match-record config
|
(match-record config
|
||||||
|
|
Loading…
Reference in a new issue