Download : Restart every day.

This commit is contained in:
Dmitry Voronin 2024-09-16 12:01:27 +03:00
parent e6edf477f7
commit a0e4378800
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -49,7 +49,10 @@ in {
web.enable = true;
};
systemd.services.deluged.serviceConfig.MemoryLimit = cfg.memLimit;
systemd.services.deluged.serviceConfig = {
MemoryLimit = cfg.memLimit;
RuntimeMaxSec = "1d";
};
};
};
};