From 97f91aa4ac5405e616d3499253269877c447157a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 18 Apr 2023 21:27:25 +0200 Subject: services: mysql: Add 'configuration' action. * gnu/services/databases.scm (mysql-shepherd-service): Add 'actions' field. --- gnu/services/databases.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu/services') 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))) -- cgit v1.2.3