aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-04-18 21:27:25 +0200
committerLudovic Courtès <ludo@gnu.org>2023-04-21 16:16:36 +0200
commit97f91aa4ac5405e616d3499253269877c447157a (patch)
treeabfb7e7c4f6a59ef994f75948560831b287c0c51 /gnu/services
parenta5fc3fc921354a6f0e5585d85659a6a9d0848a85 (diff)
downloadguix-97f91aa4ac5405e616d3499253269877c447157a.tar.gz
guix-97f91aa4ac5405e616d3499253269877c447157a.zip
services: mysql: Add 'configuration' action.
* gnu/services/databases.scm (mysql-shepherd-service): Add 'actions' field.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/databases.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm
index 8415b08eb2..4146d0c8b7 100644
--- a/gnu/services/databases.scm
+++ b/gnu/services/databases.scm
@@ -596,6 +596,8 @@ port=" (number->string port) "
(provision '(mysql))
(requirement '(user-processes))
(documentation "Run the MySQL server.")
+ (actions (list (shepherd-configuration-action
+ (mysql-configuration-file config))))
(start (let ((mysql (mysql-configuration-mysql config))
(extra-env (mysql-configuration-extra-environment config))
(my.cnf (mysql-configuration-file config)))