aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/garage/deploy/garage.hcl11
1 files changed, 9 insertions, 2 deletions
diff --git a/app/garage/deploy/garage.hcl b/app/garage/deploy/garage.hcl
index b5b8bf1..c3d730e 100644
--- a/app/garage/deploy/garage.hcl
+++ b/app/garage/deploy/garage.hcl
@@ -64,8 +64,8 @@ job "garage" {
cpu = 1000
}
- kill_signal = "SIGINT"
- kill_timeout = "20s"
+ kill_signal = "SIGINT"
+ kill_timeout = "20s"
service {
tags = [
@@ -109,6 +109,13 @@ job "garage" {
}
}
}
+
+ restart {
+ interval = "30m"
+ attempts = 10
+ delay = "15s"
+ mode = "delay"
+ }
}
}
}