[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: services: nginx: Actually check if configuration is valid.
From: |
Tobias Geerinckx-Rice |
Subject: |
01/04: services: nginx: Actually check if configuration is valid. |
Date: |
Tue, 13 Sep 2016 15:58:50 +0000 (UTC) |
nckx pushed a commit to branch master
in repository guix.
commit d21047d5047feaec6ab02b56228a8a655d006e72
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Fri Sep 9 03:14:41 2016 +0200
services: nginx: Actually check if configuration is valid.
* gnu/services/web.scm (nginx-activation): Fix path to nginx binary.
---
gnu/services/web.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index 40e4d5f..0a2a09b 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -80,7 +80,7 @@
(format #t "creating nginx run directory '~a'~%" #$run-directory)
(mkdir-p #$run-directory)
;; Check configuration file syntax.
- (system* (string-append #$nginx "/bin/nginx")
+ (system* (string-append #$nginx "/sbin/nginx")
"-c" #$config-file "-t")))))
(define nginx-shepherd-service