mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
cachix-watch-store: restart indefinitely
This commit is contained in:
parent
d0f57e6196
commit
1d85cfbd77
@ -62,7 +62,13 @@ in
|
||||
after = [ "network-online.target" ];
|
||||
path = [ config.nix.package ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
unitConfig = {
|
||||
# allow to restart indefinitely
|
||||
StartLimitIntervalSec = 0;
|
||||
};
|
||||
serviceConfig = {
|
||||
# don't put too much stress on the machine when restarting
|
||||
RestartSec = 1;
|
||||
# we don't want to kill children processes as those are deployments
|
||||
KillMode = "process";
|
||||
Restart = "on-failure";
|
||||
|
Loading…
Reference in New Issue
Block a user