Merge pull request #207960 from domenkozar/cachix-agent-reliability
cachix-agent: always restart
This commit is contained in:
commit
93fb6f14eb
1 changed files with 2 additions and 1 deletions
|
@ -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}"} \
|
||||
|
|
Loading…
Reference in a new issue