add env var for dht port
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2019-04-22 14:59:42 +00:00
parent 066d01c84a
commit efdb65fe1e
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -10,12 +10,13 @@ chown $UID /data/torrents
su-exec $UID aria2c \
--show-console-readout false \
--summary-interval=0 \
--enable-rpc \
--bt-save-metadata \
--bt-load-saved-metadata \
--force-save \
--listen-port=${LISTEN_PORT:-6881-6889} \
--summary-interval=0 \
--dht-listen-port=${DHT_LISTEN_PORT:-6881-6889} \
--seed-ratio=0 \
--dir /data/ \
--save-session /data/torrents \