[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: services: nginx: Pass run-directory on config test.
From: |
guix-commits |
Subject: |
02/07: services: nginx: Pass run-directory on config test. |
Date: |
Wed, 4 Sep 2019 17:41:19 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit c26f562e5e22b07e61475cab7324e84f6fe70e57
Author: Robert Vollmert <address@hidden>
Date: Sun Jun 30 22:56:25 2019 +0200
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 <address@hidden>
---
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 35efddb..5697123 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
- branch master updated (ce50277 -> 35d4862), guix-commits, 2019/09/04
- 02/07: services: nginx: Pass run-directory on config test.,
guix-commits <=
- 03/07: doc: Update 'README'., guix-commits, 2019/09/04
- 04/07: gnu: Add xfce4-screenshooter., guix-commits, 2019/09/04
- 05/07: gnu: Add xfce4-screensaver., guix-commits, 2019/09/04
- 01/07: gnu: ghostscript: Keep the replacement private., guix-commits, 2019/09/04
- 06/07: gnu: libxfce4util: Add gobject-introspection support., guix-commits, 2019/09/04
- 07/07: gnu: libxfce4util: Build Vala bindings., guix-commits, 2019/09/04