diff --git a/services/wordpress.hcl b/services/wordpress.hcl index 22939af..a32b638 100644 --- a/services/wordpress.hcl +++ b/services/wordpress.hcl @@ -74,7 +74,7 @@ job "wordpress" { type = "http" port = "http" path = "/wp-admin/install.php" - interval = "5s" + interval = "10s" timeout = "2s" check_restart { @@ -83,6 +83,13 @@ job "wordpress" { } } } + + restart { + interval = "1m" + attempts = "5" + delay = "15s" + mode = "delay" + } } } }