Juju Charm - Mysql Router
Go to file
James Page 3582c9cf11 Configure /run/mysql location for PID file
Ensure that a location in /run is used for the PID file for
the mysqlrouter instance - this ensures that in the event
of a power outage, the old PID file will not be present and
the daemon will correctly startup when the machine starts up.

Update systemd configuration to create /run/mysql and to use
the mysql user and group to execute the daemon.

Switch to 'forking' mode to ensure that the mysqlrouter process
gets tracked by systemd.

Closes-Bug: 1931095
Change-Id: Id3f7605ad1e9e4a6e4b0a1abe8000abd75b5b0fd
(cherry picked from commit 72aca90ea3)
2021-06-16 10:09:08 +01:00
src Configure /run/mysql location for PID file 2021-06-16 10:09:08 +01:00
unit_tests Configure /run/mysql location for PID file 2021-06-16 10:09:08 +01:00
.gitignore Unit Tests 2019-10-10 16:48:29 -07:00
.gitreview Updates for stable branch creation 2021-05-03 12:26:26 +02:00
.stestr.conf Unit Tests 2019-10-10 16:48:29 -07:00
.zuul.yaml [ussuri][goal] Updates for python 2.7 drop 2020-03-24 17:15:34 +00:00
LICENSE Required files 2019-10-04 14:12:47 -07:00
osci.yaml Add new osci.yaml 2021-03-11 13:10:08 +00:00
rebuild Rebuild with udpated charm-tools 2.8.2 2021-02-01 14:10:15 -08:00
requirements.txt Updates to pin charm-tools to 2.8.3 2021-02-17 12:14:15 +00:00
test-requirements.txt 21.04 libraries freeze for charms on master branch 2021-04-03 20:29:17 +01:00
tox.ini 21.04 libraries freeze for charms on master branch 2021-04-03 20:29:17 +01:00