forked from Deuxfleurs/infrastructure
Change Plume restart policy
This commit is contained in:
parent
9883d85c2a
commit
306974a163
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
job "plume" {
|
job "plume-blog" {
|
||||||
datacenters = ["dc1"]
|
datacenters = ["dc1"]
|
||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
|
@ -70,6 +70,12 @@ job "plume" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
restart {
|
||||||
|
interval = "30m"
|
||||||
|
attempts = 20
|
||||||
|
delay = "15s"
|
||||||
|
mode = "delay"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue