add restart with mode "delay" stance to diplonat

This commit is contained in:
Alex 2021-07-26 22:58:51 +02:00
parent 9304997d84
commit 9d5b490fd9
No known key found for this signature in database
GPG key ID: 09EC5284AA804D3C

View file

@ -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" }}