From c26f562e5e22b07e61475cab7324e84f6fe70e57 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sun, 30 Jun 2019 22:56:25 +0200 Subject: [PATCH] services: nginx: Pass run-directory on config test. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes . This fixes error logging errors in the activation script. * gnu/services/web.scm (nginx-activation): Add "-p" flag. Signed-off-by: Ludovic Courtès --- gnu/services/web.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 35efddb0ae..56971238ab 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -682,7 +682,8 @@ (define (nginx-activation config) (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