feat: aria2: load from session file, save session every minute
parent
b9db4b8d4d
commit
4abda434ce
|
@ -164,7 +164,7 @@
|
||||||
|
|
||||||
services.aria2 = {
|
services.aria2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraArguments = "--bt-external-ip=10.65.64.220";
|
extraArguments = "--bt-external-ip=10.65.64.220 --input-file=/var/lib/aria2/aria2.session --save-session-interval=60";
|
||||||
};
|
};
|
||||||
systemd.services."aria2" = {
|
systemd.services."aria2" = {
|
||||||
bindsTo = [ "netns@wg.service" ];
|
bindsTo = [ "netns@wg.service" ];
|
||||||
|
|
Loading…
Reference in New Issue