guix/gnu/services
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
..
admin.scm services: rottlog: More convenient default options for <log-rotation>. 2022-08-01 00:02:04 +02:00
audio.scm
auditd.scm
authentication.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
avahi.scm services: Add Shepherd 'configuration' action to various services. 2022-11-18 15:44:39 +01:00
base.scm services: Add Shepherd 'configuration' action to various services. 2022-11-18 15:44:39 +01:00
certbot.scm services: certbot: Create "live" directory during activation. 2022-09-29 22:59:48 +02:00
cgit.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
ci.scm
configuration.scm Revert "services: configuration: Revert to a working ‘guix home’." 2022-11-17 06:49:51 -05:00
cuirass.scm services: rottlog: More convenient default options for <log-rotation>. 2022-08-01 00:02:04 +02:00
cups.scm
databases.scm gnu: mysql: Support custom data dir. 2022-11-20 17:54:04 +01:00
dbus.scm services: dbus: Add a VERBOSE? configuration option. 2022-06-14 14:23:21 -04:00
desktop.scm services: Add Shepherd 'configuration' action to various services. 2022-11-18 15:44:39 +01:00
dict.scm services: Add Shepherd 'configuration' action to various services. 2022-11-18 15:44:39 +01:00
dns.scm services: ddclient: No need to import (ice-9 rdelim) from the host. 2022-06-04 00:11:44 +02:00
docker.scm services: docker: Fix race condition. 2022-07-13 21:36:41 -04:00
file-sharing.scm services: Use the new maybe/unset API. 2022-08-25 00:10:32 -04:00
games.scm
ganeti.scm services: ganeti: OS variants can be a directory. 2022-11-03 20:00:30 +01:00
getmail.scm services: getmail: Use 'match-record'. 2022-11-17 23:03:50 +01:00
guix.scm services: guix-build-coordinator: Remove duplicate log timestamp. 2022-11-20 12:00:04 +00:00
herd.scm services: herd: Add 'wait-for-service'. 2022-05-28 23:23:36 +02:00
hurd.scm
kerberos.scm services: Use the new maybe/unset API. 2022-08-25 00:10:32 -04:00
lightdm.scm services: lightdm: Do not use GOOPS. 2022-11-19 19:54:14 +01:00
linux.scm system: Align zram priority with swap-space spec to clarify. 2022-06-11 00:57:13 -04:00
lirc.scm
mail.scm gnu: dovecot: Use standard mkdir-p/perms. 2022-11-02 16:57:36 +01:00
mcron.scm Revert "services: configuration: Revert to a working ‘guix home’." 2022-11-17 06:49:51 -05:00
messaging.scm services: configuration: Change the value of the unset marker. 2022-08-25 00:10:42 -04:00
monitoring.scm Fix problems initially introduced in commit 543d971ed2, now reinstated. 2022-11-17 06:49:51 -05:00
networking.scm services: tor: Remove unnecessary modules from shepherd environment. 2022-11-18 15:44:40 +01:00
nfs.scm
nix.scm
pam-mount.scm gnu: base: Add greetd-service-type. 2022-06-17 10:30:41 +02:00
pm.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
rsync.scm
samba.scm services: samba: Remove unused variables and modules. 2022-09-28 09:57:30 -04:00
science.scm
sddm.scm
security-token.scm
security.scm gnu: fail2ban-service-type: Improve extra-content fields. 2022-09-14 11:29:11 -04:00
shepherd.scm services: shepherd: Define 'shepherd-configuration-action' helper. 2022-11-18 15:44:39 +01:00
sound.scm
spice.scm
ssh.scm services: Add Shepherd 'configuration' action to various services. 2022-11-18 15:44:39 +01:00
syncthing.scm
sysctl.scm
telephony.scm services: jami-service-type: Streamline stop slot. 2022-09-23 23:56:16 -04:00
version-control.scm services: gitolite: Use the correct variable for the user-group. 2022-11-17 12:00:32 +00:00
virtualization.scm gnu: Fix copyright line. 2022-11-20 12:00:04 +00:00
vnc.scm Revert "Revert "services: Add xvnc-service-type."" 2022-10-07 15:07:48 -04:00
vpn.scm services: vpn: Fix the profile wireguard package. 2022-11-13 14:03:54 +01:00
web.scm services: Add Shepherd 'configuration' action to various services. 2022-11-18 15:44:39 +01:00
xorg.scm services: Add Shepherd 'configuration' action to various services. 2022-11-18 15:44:39 +01:00