guix/gnu
Ellen Papsch c7b266fdf2
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>
2022-11-20 17:54:04 +01:00
..
bootloader
build tests: root-unmount: Wait for the first QEMU process to finish. 2022-11-17 11:10:09 +01:00
home home: services: redshift: Add 'configuration' action. 2022-11-18 15:44:40 +01:00
installer installer: Report known-unsupported PCI devices. 2022-11-15 12:16:43 +01:00
machine machine: ssh: Validate 'system' field. 2022-11-17 22:27:39 +01:00
packages gnu: postgresql@10: Update to 10.23. 2022-11-20 17:54:04 +01:00
services gnu: mysql: Support custom data dir. 2022-11-20 17:54:04 +01:00
system linux-initrd: raw-initrd: Add keyword argument #:pre-mount. 2022-11-18 15:44:38 +01:00
tests tests: mysql: Wait for the socket before running queries. 2022-11-20 17:54:04 +01:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm
installer.scm installer: Migrate to 'guile-gnutls'. 2022-11-15 12:16:43 +01:00
local.mk gnu: racket: Update to 8.7. 2022-11-20 02:22:18 +01:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm