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:
parent
1b8f16e88a
commit
76479d0b37
|
@ -61,9 +61,6 @@ let
|
||||||
User = "aria2";
|
User = "aria2";
|
||||||
Group = "nginx";
|
Group = "nginx";
|
||||||
|
|
||||||
# Increase number of open file descriptors (default: 1024)
|
|
||||||
LimitNOFILE = 65536;
|
|
||||||
|
|
||||||
# systemd-analyze --no-pager security aria2-rpc-proxy.service
|
# systemd-analyze --no-pager security aria2-rpc-proxy.service
|
||||||
CapabilityBoundingSet = null;
|
CapabilityBoundingSet = null;
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
|
@ -124,6 +121,9 @@ in
|
||||||
User = "aria2";
|
User = "aria2";
|
||||||
Group = "aria2";
|
Group = "aria2";
|
||||||
|
|
||||||
|
# Increase number of open file descriptors (default: 1024)
|
||||||
|
LimitNOFILE = 65536;
|
||||||
|
|
||||||
# systemd-analyze --no-pager security aria2.service
|
# systemd-analyze --no-pager security aria2.service
|
||||||
CapabilityBoundingSet = null;
|
CapabilityBoundingSet = null;
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
|
|
Loading…
Reference in a new issue