summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-09-08 18:50:55 +0200
committerLudovic Courtès <ludo@gnu.org>2018-09-08 23:02:00 +0200
commite80c725db7d11618dec7c3f92845f71b0a9715b0 (patch)
treec9dbd8117af4ab450487d45e830c2f0e35f8efef /gnu
parent985975ae80fe5a8e58319b3a5aaf14da940c4419 (diff)
downloadguix-e80c725db7d11618dec7c3f92845f71b0a9715b0.tar.gz
services: nginx: 'stop' returns #f.
Previously we'd return #t, which the Shepherd would consider a failure
to stop the service.

* gnu/services/web.scm (nginx-shepherd-service): In 'nginx-action',
return #f when stopping the service.
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 1c993b29fe..df82a6de61 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -608,7 +608,7 @@ of index files."
                                (default-nginx-config config))
                          #$@args)
                  (match '#$args
-                   (("-s" . _) #t)
+                   (("-s" . _) #f)
                    (_
                     ;; When FILE is true, we cannot be sure that PID-FILE will
                     ;; be created, so assume it won't show up.  When FILE is