This repository has been archived on 2020-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
aria2/entrypoint.sh
Simon Bruder ed1087ca57
All checks were successful
continuous-integration/drone/push Build is passing
reduce port range
2019-04-21 22:16:45 +00:00

18 lines
337 B
Bash
Executable file

#!/bin/ash
nginx
touch /data/torrents
chown $UID /data/torrents
su-exec $UID aria2c \
--enable-rpc \
--bt-save-metadata \
--bt-load-saved-metadata \
--force-save \
--listen-port=6881-6889 \
--summary-interval=0 \
--seed-ratio=0 \
--dir /data/ \
--save-session /data/torrents \
-i /data/torrents