mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
When restarts.attempts=0 was set in a jobspec a system or service alloc that exited with 0 status would be marked as `completed` instead of `failed`. Since system and service jobs are intended to run until stopped or updated, they should always be marked as failed when they exit even in cases where the exit code is 0.
6.5 KiB
6.5 KiB