forked from Deuxfleurs/infrastructure
add restart with mode "delay" stance to diplonat
This commit is contained in:
parent
9304997d84
commit
9d5b490fd9
1 changed files with 37 additions and 30 deletions
|
@ -24,6 +24,13 @@ job "core" {
|
|||
privileged = true
|
||||
}
|
||||
|
||||
restart {
|
||||
interval = "30m"
|
||||
attempts = 2
|
||||
delay = "15s"
|
||||
mode = "delay"
|
||||
}
|
||||
|
||||
template {
|
||||
data = <<EOH
|
||||
DIPLONAT_PRIVATE_IP={{ env "attr.unique.network.ip-address" }}
|
||||
|
|
Loading…
Reference in a new issue