guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#30691] [PATCH 2/3] services: mysql: Add a default-value to the mysq


From: Christopher Baines
Subject: [bug#30691] [PATCH 2/3] services: mysql: Add a default-value to the mysql-service-type.
Date: Sat, 3 Mar 2018 22:21:09 +0000

* gnu/services/databases.scm (mysql-service-type)[default-value]: Set
  to (mysql-configuration).
---
 gnu/services/databases.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm
index 3db9472ee..1d56015b7 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
-- 
2.16.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]