Unverified Commit 93fb6f14 authored by Domen Kožar's avatar Domen Kožar Committed by GitHub
Browse files

Merge pull request #207960 from domenkozar/cachix-agent-reliability

cachix-agent: always restart
parents 19fe841d 3148ec4f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -67,7 +67,8 @@ in {
      serviceConfig = {
        # we don't want to kill children processes as those are deployments
        KillMode = "process";
        Restart = "on-failure";
        Restart = "always";
        RestartSec = 5;
        EnvironmentFile = cfg.credentialsFile;
        ExecStart = ''
          ${cfg.package}/bin/cachix ${lib.optionalString cfg.verbose "--verbose"} ${lib.optionalString (cfg.host != null) "--host ${cfg.host}"} \