services: nginx: Actually check if configuration is valid.

* gnu/services/web.scm (nginx-activation): Fix path to nginx binary.
This commit is contained in:
Tobias Geerinckx-Rice 2016-09-09 03:14:41 +02:00
parent 4b42703ed5
commit d21047d504
No known key found for this signature in database
GPG Key ID: 91CCDB9B48541B99
1 changed files with 1 additions and 1 deletions

View File

@ -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