me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 1 additions and 1 deletions

View File

@ -608,7 +608,7 @@ of index files."
(default-nginx-config config)) (default-nginx-config config))
#$@args) #$@args)
(match '#$args (match '#$args
(("-s" . _) #t) (("-s" . _) #f)
(_ (_
;; When FILE is true, we cannot be sure that PID-FILE will ;; When FILE is true, we cannot be sure that PID-FILE will
;; be created, so assume it won't show up. When FILE is ;; be created, so assume it won't show up. When FILE is