fuuko/torrent: Increase the open file limit of aria2

The previous attempt in 427361df65 did
increase the open file limit, but for the wrong service.
This commit is contained in:
Simon Bruder 2021-12-21 18:28:02 +01:00
parent 1b8f16e88a
commit 76479d0b37
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -61,9 +61,6 @@ let
User = "aria2";
Group = "nginx";
# Increase number of open file descriptors (default: 1024)
LimitNOFILE = 65536;
# systemd-analyze --no-pager security aria2-rpc-proxy.service
CapabilityBoundingSet = null;
PrivateDevices = true;
@ -124,6 +121,9 @@ in
User = "aria2";
Group = "aria2";
# Increase number of open file descriptors (default: 1024)
LimitNOFILE = 65536;
# systemd-analyze --no-pager security aria2.service
CapabilityBoundingSet = null;
PrivateDevices = true;