[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: services: nginx: 'stop' returns #f.

From: Ludovic Courtès
Subject: 02/04: services: nginx: 'stop' returns #f.
Date: Sat, 8 Sep 2018 17:02:10 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e80c725db7d11618dec7c3f92845f71b0a9715b0
Author: Ludovic Courtès <address@hidden>
Date:   Sat Sep 8 18:50:55 2018 +0200

    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.
 gnu/services/web.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index 1c993b2..df82a6d 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -608,7 +608,7 @@ of index files."
                                (default-nginx-config config))
                  (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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]