modules: services: transmission: limit memory use
This commit is contained in:
parent
7ce0a4ad5c
commit
1967c8ef79
|
@ -67,6 +67,14 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Transmission wants to eat *all* my RAM if left to its own devices
|
||||||
|
systemd.services.transmission = {
|
||||||
|
serviceConfig = {
|
||||||
|
MemoryHigh = "25%";
|
||||||
|
MemoryMax = "33%";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Set-up media group
|
# Set-up media group
|
||||||
users.groups.media = { };
|
users.groups.media = { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue