modules/microvm: let nomad retry restarting
This commit is contained in:
parent
314227533a
commit
222b41f5e2
|
@ -132,7 +132,12 @@ in
|
|||
|
||||
group "nixos-${config.system.nixos.label}" {
|
||||
count = 1
|
||||
restart { attempts = 1 }
|
||||
restart {
|
||||
attempts = 2
|
||||
delay = "10s"
|
||||
mode = "delay"
|
||||
interval = "10m"
|
||||
}
|
||||
${lib.concatMapStrings (interface@{ id, ... }: ''
|
||||
task "interface-${id}" {
|
||||
lifecycle {
|
||||
|
|
Loading…
Reference in New Issue