From 7690a171aee87b9c57e016a41068d20b3e3085a3 Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Sun, 3 Sep 2023 18:40:42 +0200 Subject: Update certificate job --- jobs/certificates.nomad.hcl | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/jobs/certificates.nomad.hcl b/jobs/certificates.nomad.hcl index 68d8779..f5452a3 100644 --- a/jobs/certificates.nomad.hcl +++ b/jobs/certificates.nomad.hcl @@ -6,6 +6,11 @@ job "certificates" { } group "lego" { + restart { + attempts = 1 + delay = "1h" + } + volume "certs" { type = "host" source = "ca-certificates" @@ -27,17 +32,18 @@ job "certificates" { data = <