diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-04-18 21:27:25 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-04-21 16:16:36 +0200 |
commit | 97f91aa4ac5405e616d3499253269877c447157a (patch) | |
tree | abfb7e7c4f6a59ef994f75948560831b287c0c51 /gnu | |
parent | a5fc3fc921354a6f0e5585d85659a6a9d0848a85 (diff) |
services: mysql: Add 'configuration' action.
* gnu/services/databases.scm (mysql-shepherd-service): Add 'actions'
field.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services/databases.scm | 2 |
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))) |