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
parent
1e6b9c6e16
commit
e903738f86
|
@ -469,7 +469,8 @@ FLUSH PRIVILEGES;
|
||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
%mysql-activation)
|
%mysql-activation)
|
||||||
(service-extension shepherd-root-service-type
|
(service-extension shepherd-root-service-type
|
||||||
mysql-shepherd-service)))))
|
mysql-shepherd-service)))
|
||||||
|
(default-value (mysql-configuration))))
|
||||||
|
|
||||||
(define* (mysql-service #:key (config (mysql-configuration)))
|
(define* (mysql-service #:key (config (mysql-configuration)))
|
||||||
"Return a service that runs @command{mysqld}, the MySQL or MariaDB
|
"Return a service that runs @command{mysqld}, the MySQL or MariaDB
|
||||||
|
|
Reference in New Issue