summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2016-09-09 03:14:41 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2016-09-13 16:48:44 +0200
commitd21047d5047feaec6ab02b56228a8a655d006e72 (patch)
treea504a81b9b4945c55d7ff23f11e0fb4d79d9d686 /gnu
parent4b42703ed551cd70dcc4dba3991c25737dd74f4a (diff)
downloadguix-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')
-rw-r--r--gnu/services/web.scm2
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