add environment variables for global speed limits
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9cba3dea5e
commit
5a8bffe633
|
@ -21,6 +21,8 @@ su-exec $UID aria2c \
|
||||||
--dht-listen-port=${DHT_LISTEN_PORT:-6881-6889} \
|
--dht-listen-port=${DHT_LISTEN_PORT:-6881-6889} \
|
||||||
--dht-file-path=/data/dht.dat \
|
--dht-file-path=/data/dht.dat \
|
||||||
--dht-file-path6=/data/dht6.dat \
|
--dht-file-path6=/data/dht6.dat \
|
||||||
|
--max-overall-download-limit=${MAX_OVERALL_DOWNLOAD_LIMIT:-0} \
|
||||||
|
--max-overall-upload-limit=${MAX_OVERALL_UPLOAD_LIMIT:-0} \
|
||||||
--seed-ratio=0 \
|
--seed-ratio=0 \
|
||||||
--dir /data/ \
|
--dir /data/ \
|
||||||
--save-session /data/torrents \
|
--save-session /data/torrents \
|
||||||
|
|
Reference in a new issue