Subject: bug#36450: closed (Re: [bug#36450] [PATCH] gnu: services: nginx: Pass run-directory on config test)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 04 Sep 2019 13:30:06 +0000

Your bug report

#36450: [PATCH] gnu: services: nginx: Pass run-directory on config test

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
36450: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36450
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#36450] [PATCH] gnu: services: nginx: Pass run-directory on config test
From: Ludovic Courtès <[email-masked]>
To: Robert Vollmert <[email-masked]>
Cc: [email-masked]
Date: Wed, 04 Sep 2019 15:29:32 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Robert Vollmert <[email-masked]> skribis:

> This fixes error logging errors in the activation script.
>
> * gnu/services/web.scm (nginx-activation): Add "-p" flag.

Added a “Fixes” line in the log and committed, at last.

Thanks!

Ludo’.

Subject: [PATCH] gnu: services: nginx: Pass run-directory on config test
From: Robert Vollmert <[email-masked]>
To: [email-masked]
Cc: Robert Vollmert <[email-masked]>
Date: Sun, 30 Jun 2019 22:56:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

This fixes error logging errors in the activation script.

* gnu/services/web.scm (nginx-activation): Add "-p" flag.
---
 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 @@ 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
-- 
2.20.1 (Apple Git-117)