aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-02-22 15:39:37 +0100
committerMathieu Othacehe <othacehe@gnu.org>2021-02-22 16:24:34 +0100
commit3bcfd41620bfe87903d54c73a100208922445f1b (patch)
treefc033a30e64b5df4e8a83b4bf356565cbd52886f /gnu/services
parentb309a28678664c295e97a70607def02b0c9b4296 (diff)
downloadguix-3bcfd41620bfe87903d54c73a100208922445f1b.tar
guix-3bcfd41620bfe87903d54c73a100208922445f1b.tar.gz
services: cuirass: Instantiate postgresql service.
* gnu/services/cuirass.scm (cuirass-service-type): Instantiate postgresql service when missing.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/cuirass.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm
index 7b03ec88d7..18163b59e2 100644
--- a/gnu/services/cuirass.scm
+++ b/gnu/services/cuirass.scm
@@ -324,6 +324,8 @@
(service-extension activation-service-type cuirass-activation)
(service-extension shepherd-root-service-type cuirass-shepherd-service)
(service-extension account-service-type cuirass-account)
+ ;; Make sure postgresql and postgresql-role are instantiated.
+ (service-extension postgresql-service-type (const #t))
(service-extension postgresql-role-service-type
cuirass-postgresql-role)))
(description