nixos/oci-containers: set Restart to on-failure

This commit is contained in:
Yethal
2026-02-05 13:02:32 +01:00
parent 3a0b8a54e3
commit f32dc452c8
@@ -536,7 +536,7 @@ let
ExecStartPre = [ "${preStartScript}/bin/pre-start" ];
TimeoutStartSec = 0;
TimeoutStopSec = 120;
Restart = "always";
Restart = "on-failure";
}
// optionalAttrs (cfg.backend == "podman") {
Environment = "PODMAN_SYSTEMD_UNIT=%n";