aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-03-18 11:37:14 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-03-18 11:37:14 +0100
commit306974a16330d71759548d09dccc3d5ab1189e91 (patch)
tree5f6c117b40a03893b81c6ede98cdb43ebde12bfb /app
parent9883d85c2a96f946679a6f60cfefefb498ae18d5 (diff)
downloadinfrastructure-306974a16330d71759548d09dccc3d5ab1189e91.tar.gz
infrastructure-306974a16330d71759548d09dccc3d5ab1189e91.zip
Change Plume restart policy
Diffstat (limited to 'app')
-rw-r--r--app/plume/deploy/plume.hcl8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/plume/deploy/plume.hcl b/app/plume/deploy/plume.hcl
index 5bb62f7..14f460e 100644
--- a/app/plume/deploy/plume.hcl
+++ b/app/plume/deploy/plume.hcl
@@ -1,4 +1,4 @@
-job "plume" {
+job "plume-blog" {
datacenters = ["dc1"]
type = "service"
@@ -70,6 +70,12 @@ job "plume" {
}
}
}
+ restart {
+ interval = "30m"
+ attempts = 20
+ delay = "15s"
+ mode = "delay"
+ }
}
}
}