Commit f32dc452 authored by Yethal's avatar Yethal
Browse files

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

parent 3a0b8a54
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";