From 1a82f8d6ed45b012719a8be62ef71a46874c128f Mon Sep 17 00:00:00 2001 From: Sean Combs Date: Sun, 21 Jan 2024 16:53:04 -0500 Subject: [PATCH] NGX-812: Wait 3 cycles before restart (#7) --- requirements.txt | 4 ++-- templates/services/mariadb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 1250130..2dec05d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # requirements.txt ansible-lint -ansible>=6,<7 +ansible molecule-plugins[docker] -molecule>=5,<6 +molecule pre-commit diff --git a/templates/services/mariadb b/templates/services/mariadb index 6e3df2b..9b58d40 100644 --- a/templates/services/mariadb +++ b/templates/services/mariadb @@ -5,4 +5,4 @@ check process mariadb matching "mariadbd" group mysql start program = "/bin/systemctl start {{ mysql_daemon }}" stop program = "/bin/systemctl stop {{ mysql_daemon }}" - if failed port 3306 protocol mysql timeout 15 seconds then restart + if failed port 3306 protocol mysql timeout 15 seconds for 3 cycles then restart