services: mysql: Add a default-value to the mysql-service-type.
authorChristopher Baines <mail@cbaines.net>
Thu, 18 Jan 2018 22:45:35 +0000 (22:45 +0000)
committerChristopher Baines <mail@cbaines.net>
Sat, 3 Mar 2018 23:52:25 +0000 (23:52 +0000)
* gnu/services/databases.scm (mysql-service-type)[default-value]: Set
  to (mysql-configuration).

gnu/services/databases.scm

index 3db9472..1d56015 100644 (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