mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ (define nginx-activation
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue