From d655e7d8195d6728d03445ef1c0f64ad58aaa66a Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Thu, 5 Mar 2020 10:57:16 +0300 Subject: [PATCH 1/2] Disable mysql.service --- images/linux/scripts/installers/mysql.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/linux/scripts/installers/mysql.sh b/images/linux/scripts/installers/mysql.sh index 63474e39..3eda0733 100644 --- a/images/linux/scripts/installers/mysql.sh +++ b/images/linux/scripts/installers/mysql.sh @@ -44,3 +44,7 @@ echo "Lastly, documenting what we added to the metadata file" DocumentInstalledItem "MySQL ($(mysql --version))" DocumentInstalledItem "MySQL Server (user:root password:root)" DocumentInstalledItem "MS SQL Server Client Tools" + +# Disable mysql.service +systemctl is-active --quiet service && systemctl stop mysql.service +systemctl disable mysql.service From 5f35cc550b3998281bd34d9887f11f675c35287a Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Thu, 5 Mar 2020 11:27:02 +0300 Subject: [PATCH 2/2] Disable mysql.service --- images/linux/scripts/installers/mysql.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/linux/scripts/installers/mysql.sh b/images/linux/scripts/installers/mysql.sh index 3eda0733..98d0d665 100644 --- a/images/linux/scripts/installers/mysql.sh +++ b/images/linux/scripts/installers/mysql.sh @@ -46,5 +46,5 @@ DocumentInstalledItem "MySQL Server (user:root password:root)" DocumentInstalledItem "MS SQL Server Client Tools" # Disable mysql.service -systemctl is-active --quiet service && systemctl stop mysql.service +systemctl is-active --quiet mysql.service && systemctl stop mysql.service systemctl disable mysql.service