satnogs-wut/wut-aria-daemon

24 lines
506 B
Bash
Executable File

#!/bin/bash
set -x
mkdir -p ~/log /srv/dl
aria2c \
--daemon=true \
--enable-rpc=true \
--dir=/srv/dl \
--rpc-listen-port=4800 \
--rpc-listen-all=false \
--rpc-secret=`cat /home/jebba/.aria-secret` \
--deferred-input=true \
--disable-ipv6=true \
--disk-cache=128M \
--file-allocation=falloc \
--log-level=notice \
--log=/home/jebba/log/aria.log \
--bt-max-open-files=1000 \
--bt-max-peers=1000 \
--continue=true