aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/databases.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-01-18 22:45:35 +0000
committerChristopher Baines <mail@cbaines.net>2018-03-03 23:52:25 +0000
commite903738f86a0be92c5c8c56adc71f8177c14f49a (patch)
tree6c852974100066ccfb2b11a05cfd85835650d240 /gnu/services/databases.scm
parent1e6b9c6e164df01ecf1b255fa95a246f698a8c34 (diff)
downloadguix-e903738f86a0be92c5c8c56adc71f8177c14f49a.tar
guix-e903738f86a0be92c5c8c56adc71f8177c14f49a.tar.gz
services: mysql: Add a default-value to the mysql-service-type.
* gnu/services/databases.scm (mysql-service-type)[default-value]: Set to (mysql-configuration).
Diffstat (limited to 'gnu/services/databases.scm')
-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 3db9472ee3..1d56015b75 100644
--- a/gnu/services/databases.scm
+++ b/gnu/services/databases.scm
@@ -469,7 +469,8 @@ FLUSH PRIVILEGES;
(service-extension activation-service-type
%mysql-activation)
(service-extension shepherd-root-service-type
- mysql-shepherd-service)))))
+ mysql-shepherd-service)))
+ (default-value (mysql-configuration))))
(define* (mysql-service #:key (config (mysql-configuration)))
"Return a service that runs @command{mysqld}, the MySQL or MariaDB