From 38bab29776950ac2364ed64195b89887717c33de Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- aria2/.local/etc/aria2/aria2.conf | 18 ++++++++++++++++++ aria2/@install | 10 ++++++++++ 2 files changed, 28 insertions(+) create mode 100644 aria2/.local/etc/aria2/aria2.conf create mode 100755 aria2/@install (limited to 'aria2') 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 -- cgit 1.4.1