diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-09-09 03:14:41 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-09-13 16:48:44 +0200 |
commit | d21047d5047feaec6ab02b56228a8a655d006e72 (patch) | |
tree | a504a81b9b4945c55d7ff23f11e0fb4d79d9d686 /gnu/services/web.scm | |
parent | 4b42703ed551cd70dcc4dba3991c25737dd74f4a (diff) | |
download | gnu-guix-d21047d5047feaec6ab02b56228a8a655d006e72.tar gnu-guix-d21047d5047feaec6ab02b56228a8a655d006e72.tar.gz |
services: nginx: Actually check if configuration is valid.
* gnu/services/web.scm (nginx-activation): Fix path to nginx binary.
Diffstat (limited to 'gnu/services/web.scm')
-rw-r--r-- | gnu/services/web.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 40e4d5f46f..0a2a09bbf5 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 |