aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-04-18 21:24:47 +0200
committerLudovic Courtès <ludo@gnu.org>2023-04-21 16:16:36 +0200
commita5fc3fc921354a6f0e5585d85659a6a9d0848a85 (patch)
tree29e612e36cf897c388e5fcdac642de637801f60e
parent7aaf2782869a5dec11812825e06b3a92b4a74a3e (diff)
downloadguix-a5fc3fc921354a6f0e5585d85659a6a9d0848a85.tar.gz
guix-a5fc3fc921354a6f0e5585d85659a6a9d0848a85.zip
services: postgresql: Add 'configuration' action.
* gnu/services/databases.scm (postgresql-shepherd-service): Add 'actions' field.
-rw-r--r--gnu/services/databases.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm
index e9f9070ba3..8415b08eb2 100644
--- a/gnu/services/databases.scm
+++ b/gnu/services/databases.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 David Thompson <davet@gnu.org>
-;;; Copyright © 2015, 2016, 2022 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2015-2016, 2022-2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
@@ -313,6 +313,7 @@ host all all ::1/128 md5"))
(requirement '(user-processes loopback syslogd))
(modules `((ice-9 match)
,@%default-modules))
+ (actions (list (shepherd-configuration-action config-file)))
(start (action "start"))
(stop (action "stop"))))))))