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.
This commit is contained in:
Ludovic Courtès 2018-09-08 18:50:55 +02:00
parent 985975ae80
commit e80c725db7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -608,7 +608,7 @@ (define (nginx-shepherd-service config)
(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