services: nginx: Actually check if configuration is valid.
* gnu/services/web.scm (nginx-activation): Fix path to nginx binary.
This commit is contained in:
parent
4b42703ed5
commit
d21047d504
|
@ -80,7 +80,7 @@
|
||||||
(format #t "creating nginx run directory '~a'~%" #$run-directory)
|
(format #t "creating nginx run directory '~a'~%" #$run-directory)
|
||||||
(mkdir-p #$run-directory)
|
(mkdir-p #$run-directory)
|
||||||
;; Check configuration file syntax.
|
;; Check configuration file syntax.
|
||||||
(system* (string-append #$nginx "/bin/nginx")
|
(system* (string-append #$nginx "/sbin/nginx")
|
||||||
"-c" #$config-file "-t")))))
|
"-c" #$config-file "-t")))))
|
||||||
|
|
||||||
(define nginx-shepherd-service
|
(define nginx-shepherd-service
|
||||||
|
|
Loading…
Reference in New Issue