modules: services: indexers: limit Jackett memory
This commit is contained in:
parent
b7301b54c0
commit
9bb09ee8f4
|
@ -21,6 +21,15 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Jackett wants to eat *all* my RAM if left to its own devices
|
||||||
|
systemd.services.jackett = {
|
||||||
|
serviceConfig = {
|
||||||
|
MemoryHigh = "15%";
|
||||||
|
MemoryMax = "25%";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."${jackettDomain}" =
|
services.nginx.virtualHosts."${jackettDomain}" =
|
||||||
lib.mkIf cfg.jackett.enable {
|
lib.mkIf cfg.jackett.enable {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in a new issue