~ruther/guix-local

6935e6c51d6423ecfca7a775280da3ae16a2713b — Rutherther 2 months ago 224abda
services: postgres: Return #f on stop.

Shepherd expects #f to know the service has stopped.

* gnu/services/databases.scm (postgresql-shepherd-service): Return #f
on stop.

Change-Id: Ie5c45efc7eef75c325ddfd0ef197b306c7b60e5b
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 1 insertions(+), 1 deletions(-)

M gnu/services/databases.scm
M gnu/services/databases.scm => gnu/services/databases.scm +1 -1
@@ 344,7 344,7 @@ host	all	all	::1/128 	md5"))
                          (match '#$args
                            (("start")
                             (call-with-input-file #$pid-file read))
                            (_ #t))))))
                            (_ #f))))))
       (list (shepherd-service
              (provision '(postgres postgresql))
              (documentation "Run the PostgreSQL daemon.")