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

cachix-agent: always restart

authored by Domen Kožar and committed by GitHub 93fb6f14 19fe841d

+2 -1
+2 -1
nixos/modules/services/system/cachix-agent/default.nix
··· 67 67 serviceConfig = { 68 68 # we don't want to kill children processes as those are deployments 69 69 KillMode = "process"; 70 - Restart = "on-failure"; 70 + Restart = "always"; 71 + RestartSec = 5; 71 72 EnvironmentFile = cfg.credentialsFile; 72 73 ExecStart = '' 73 74 ${cfg.package}/bin/cachix ${lib.optionalString cfg.verbose "--verbose"} ${lib.optionalString (cfg.host != null) "--host ${cfg.host}"} \