From b6085676483fc8308fa4a1954e3fb18052186e49 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 7 Mar 2021 11:43:46 +0100 Subject: [PATCH] Add a new parameter to stolon --- app/backup/deploy/{backup-manual.hcl => backup-matrix.hcl} | 2 +- app/postgres/deploy/postgres.hcl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename app/backup/deploy/{backup-manual.hcl => backup-matrix.hcl} (98%) diff --git a/app/backup/deploy/backup-manual.hcl b/app/backup/deploy/backup-matrix.hcl similarity index 98% rename from app/backup/deploy/backup-manual.hcl rename to app/backup/deploy/backup-matrix.hcl index 08b3784..8d0eb32 100644 --- a/app/backup/deploy/backup-manual.hcl +++ b/app/backup/deploy/backup-matrix.hcl @@ -1,4 +1,4 @@ -job "backup_manual" { +job "backup_manual_matrix" { datacenters = ["dc1"] type = "batch" diff --git a/app/postgres/deploy/postgres.hcl b/app/postgres/deploy/postgres.hcl index 6f71b4c..55a8144 100644 --- a/app/postgres/deploy/postgres.hcl +++ b/app/postgres/deploy/postgres.hcl @@ -46,7 +46,8 @@ job "postgres" { "--store-backend", "consul", "--store-endpoints", "http://consul.service.2.cluster.deuxfleurs.fr:8500", "--port", "${NOMAD_PORT_psql_proxy_port}", - "--listen-address", "0.0.0.0" + "--listen-address", "0.0.0.0", + "--stop-listening", "false" ] ports = [ "psql_proxy_port" ] }