services: mysql: Add a default-value to the mysql-service-type.

* gnu/services/databases.scm (mysql-service-type)[default-value]: Set
  to (mysql-configuration).
master
Christopher Baines 2018-01-18 22:45:35 +00:00
parent 1e6b9c6e16
commit e903738f86
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 2 additions and 1 deletions

View File

@ -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