Use check_settings

This commit is contained in:
2024-05-12 21:55:24 +02:00
parent 6c2c5b1572
commit a3929b0371
2 changed files with 6 additions and 3 deletions

View File

@ -48,6 +48,11 @@ job "miniflux" {
}
}
sidecar_task {
logs {
disabled = false
}
config {
args = [
"-c",

View File

@ -24,9 +24,7 @@ job "[[ .instance ]]" {
type = "http"
path = "/healthcheck"
expose = true
interval = "[[ $c.consul.check.interval ]]"
timeout = "[[ $c.consul.check.timeout ]]"
[[ template "common/check_settings" $c ]]
check_restart {
limit = 20
grace = "20s"