diff options
author | Ellen Papsch <ep@stern-data.com> | 2021-06-21 15:27:52 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-11-20 17:54:04 +0100 |
commit | c7b266fdf2754c139803c156677bf2828c78d072 (patch) | |
tree | 6fbeb793cb4e8c797062e69fc29960e4b7b760a2 /nix/boost | |
parent | 96efebed249944be4f4ddfba53ca2f983e4d5e46 (diff) | |
download | guix-c7b266fdf2754c139803c156677bf2828c78d072.tar.gz |
gnu: mysql: Support custom data dir.
* gnu/services/databases.scm (mysql-configuration): Add datadir property. * gnu/services/databases.scm (mysql-configuration-file): Replace hard coded data dir with property from config. * gnu/services/databases.scm (%mysql-activation): Remove activation, it runs before PID 1. The data dir may reside on a file system not mounted at this time. * gnu/services/databases.scm (mysql-install-shepherd-service): Create service which replaces the activation. Provide mysql-install. * gnu/services/databases.scm (mysql-shepherd-service): Move invocation of mysqld to mysql-start program-file, because the invocation gotten more complex. Require mysql-install. * gnu/services/databases.scm (mysql-start): Invoke mysqld only if a lock file appears. * gnu/services/databases.scm (mysql-shepherd-services): Prepend the install service before the normal service. * gnu/services/databases.scm (mysql-upgrade-wrapper): Increase timeout to 20s to let the mysql install procedure finish. Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'nix/boost')
0 files changed, 0 insertions, 0 deletions