summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2020-07-28 13:55:28 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2020-08-01 11:54:41 +0200
commit3bf4761e397ade056ebb7f5891797317768e6442 (patch)
tree56bfacfc321e942bc2a4e9fa1dac393b0f316a63 /gnu/services
parentdec43e9f888826a86e9554dcdb5d95b42511d7c4 (diff)
services: postgresql: Provide postgresql commands.
* gnu/services/databases.scm (postgresql-service-type): Extend profile-service-type to provide postgresql commands.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/databases.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm
index 473ece4e97..2bddf70f71 100644
--- a/gnu/services/databases.scm
+++ b/gnu/services/databases.scm
@@ -276,7 +276,9 @@ host all all ::1/128 md5"))
(service-extension activation-service-type
postgresql-activation)
(service-extension account-service-type
- (const %postgresql-accounts))))
+ (const %postgresql-accounts))
+ (service-extension profile-service-type
+ (compose list postgresql-configuration-postgresql))))
(default-value (postgresql-configuration))))
(define* (postgresql-service #:key (postgresql postgresql)