add env var for dht port
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
066d01c84a
commit
efdb65fe1e
|
@ -10,12 +10,13 @@ chown $UID /data/torrents
|
||||||
|
|
||||||
su-exec $UID aria2c \
|
su-exec $UID aria2c \
|
||||||
--show-console-readout false \
|
--show-console-readout false \
|
||||||
|
--summary-interval=0 \
|
||||||
--enable-rpc \
|
--enable-rpc \
|
||||||
--bt-save-metadata \
|
--bt-save-metadata \
|
||||||
--bt-load-saved-metadata \
|
--bt-load-saved-metadata \
|
||||||
--force-save \
|
--force-save \
|
||||||
--listen-port=${LISTEN_PORT:-6881-6889} \
|
--listen-port=${LISTEN_PORT:-6881-6889} \
|
||||||
--summary-interval=0 \
|
--dht-listen-port=${DHT_LISTEN_PORT:-6881-6889} \
|
||||||
--seed-ratio=0 \
|
--seed-ratio=0 \
|
||||||
--dir /data/ \
|
--dir /data/ \
|
||||||
--save-session /data/torrents \
|
--save-session /data/torrents \
|
||||||
|
|
Reference in a new issue