mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 19:41:50 +02:00
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>
This commit is contained in:
@@ -344,7 +344,7 @@ host all all ::1/128 md5"))
|
|||||||
(match '#$args
|
(match '#$args
|
||||||
(("start")
|
(("start")
|
||||||
(call-with-input-file #$pid-file read))
|
(call-with-input-file #$pid-file read))
|
||||||
(_ #t))))))
|
(_ #f))))))
|
||||||
(list (shepherd-service
|
(list (shepherd-service
|
||||||
(provision '(postgres postgresql))
|
(provision '(postgres postgresql))
|
||||||
(documentation "Run the PostgreSQL daemon.")
|
(documentation "Run the PostgreSQL daemon.")
|
||||||
|
|||||||
Reference in New Issue
Block a user