unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#36450] [PATCH] gnu: services: nginx: Pass run-directory on config test
@ 2019-06-30 20:56 Robert Vollmert
  2019-06-30 21:02 ` Jonathan Brielmaier
  2019-09-04 13:29 ` bug#36450: " Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Vollmert @ 2019-06-30 20:56 UTC (permalink / raw)
  To: 36450; +Cc: Robert Vollmert

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)

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#36450] [PATCH] gnu: services: nginx: Pass run-directory on config test
  2019-06-30 20:56 [bug#36450] [PATCH] gnu: services: nginx: Pass run-directory on config test Robert Vollmert
@ 2019-06-30 21:02 ` Jonathan Brielmaier
  2019-06-30 21:03   ` Robert Vollmert
  2019-09-04 13:29 ` bug#36450: " Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Jonathan Brielmaier @ 2019-06-30 21:02 UTC (permalink / raw)
  To: Robert Vollmert, 36450

On 30.06.19 22:56, Robert Vollmert wrote:
> This fixes error logging errors in the activation script.

What does it fix? I don't get it.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#36450] [PATCH] gnu: services: nginx: Pass run-directory on config test
  2019-06-30 21:02 ` Jonathan Brielmaier
@ 2019-06-30 21:03   ` Robert Vollmert
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Vollmert @ 2019-06-30 21:03 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 36450


> On 30. Jun 2019, at 23:02, Jonathan Brielmaier <jonathan.brielmaier@web.de> wrote:
> 
> On 30.06.19 22:56, Robert Vollmert wrote:
>> This fixes error logging errors in the activation script.
> 
> What does it fix? I don't get it.

This fixes https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36388.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#36450: [PATCH] gnu: services: nginx: Pass run-directory on config test
  2019-06-30 20:56 [bug#36450] [PATCH] gnu: services: nginx: Pass run-directory on config test Robert Vollmert
  2019-06-30 21:02 ` Jonathan Brielmaier
@ 2019-09-04 13:29 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2019-09-04 13:29 UTC (permalink / raw)
  To: Robert Vollmert; +Cc: 36450-done

Hi,

Robert Vollmert <rob@vllmrt.net> 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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-04 13:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-30 20:56 [bug#36450] [PATCH] gnu: services: nginx: Pass run-directory on config test Robert Vollmert
2019-06-30 21:02 ` Jonathan Brielmaier
2019-06-30 21:03   ` Robert Vollmert
2019-09-04 13:29 ` bug#36450: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).