Download : Fix missing restart.

This commit is contained in:
Dmitry Voronin 2024-09-19 03:33:51 +03:00
parent 339231ae73
commit b75b04d3bd
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 2 additions and 1 deletions

View file

@ -51,6 +51,7 @@ in {
systemd.services.deluged.serviceConfig = {
MemoryLimit = cfg.memLimit;
Restart = lib.mkForce "always";
RuntimeMaxSec = "1d";
};
};

View file

@ -63,7 +63,7 @@ in {
PIDFile = "/run/nfqws.pid";
ExecReload = "/bin/kill -HUP $MAINPID";
Restart = "always";
RestartSec = "5s";
# RestartSec = "5s";
RuntimeMaxSec = "1h";
};
};