diff options
author | Azat Bahawi <azat@bahawi.net> | 1970-01-01 03:00:00 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-09-20 11:51:54 +0300 |
commit | 38bab29776950ac2364ed64195b89887717c33de (patch) | |
tree | edaaf366a55dbe96d268019124536bc504c64e87 /aria2 |
Diffstat (limited to 'aria2')
-rw-r--r-- | aria2/.local/etc/aria2/aria2.conf | 18 | ||||
-rwxr-xr-x | aria2/@install | 10 |
2 files changed, 28 insertions, 0 deletions
diff --git a/aria2/.local/etc/aria2/aria2.conf b/aria2/.local/etc/aria2/aria2.conf new file mode 100644 index 0000000..7e15303 --- /dev/null +++ b/aria2/.local/etc/aria2/aria2.conf @@ -0,0 +1,18 @@ +bt-max-peers=128 +bt-save-metadata=true +continue=true +disable-ipv6=true +enable-dht=true +enable-peer-exchange=true +enable-rpc=false +follow-torrent=true +log-level=info +max-connection-per-server=16 +max-overall-upload-limit=1K +max-tries=5 +max-upload-limit=1K +min-split-size=1M +seed-ratio=0.1 +seed-time=0.1 +stream-piece-selector=default +timeout=60 diff --git a/aria2/@install b/aria2/@install new file mode 100755 index 0000000..4e3a8bb --- /dev/null +++ b/aria2/@install @@ -0,0 +1,10 @@ +#!/bin/sh + +[ ! -d "${XDG_CONFIG_HOME}/aria2" ] && \ + mkdir -p "${XDG_CONFIG_HOME}/aria2" + +stow \ + --target="${HOME}" \ + --ignore="^@.*" \ + --verbose \ + aria2 |