From 3bf4761e397ade056ebb7f5891797317768e6442 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 28 Jul 2020 13:55:28 +0200 Subject: services: postgresql: Provide postgresql commands. * gnu/services/databases.scm (postgresql-service-type): Extend profile-service-type to provide postgresql commands. --- gnu/services/databases.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/services') 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 @@ (define postgresql-service-type (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) -- cgit v1.2.3