services: mysql: Remove mysql-install-service in favor of wrapper.
authorMarius Bakke <marius@gnu.org>
Sat, 29 Oct 2022 19:47:19 +0000 (21:47 +0200)
committerMarius Bakke <marius@gnu.org>
Sun, 20 Nov 2022 16:54:05 +0000 (17:54 +0100)
commit3323ffa66d6edfadad312fad15f91a02d3262174
treeaaebbb68866f01a7f6de3249c986feafc129c51b
parente4a74f38dfd43b7bfcef5605eb2bf751bfc53102
services: mysql: Remove mysql-install-service in favor of wrapper.

* gnu/services/databases.scm (mysql-with-install-lock): Remove variable.
(mysql-start): Rename to ...
(mysqld-wrapper): ... this.  Do the preliminary initialization steps and call
out to MYSQL-INSTALL when necessary.
(mysql-install): Only initialize table schemas.
(mysql-install-shepherd-service): Remove.
(mysql-service)[requirement]: Remove 'mysql-install.  Add 'user-processes.
[start]: Don't pass #:user and #:group.
(mysql-shepherd-services): Remove MYSQL-INSTALL-SHEPHERD-SERVICE.
gnu/services/databases.scm