diff --git a/entrypoint.sh b/entrypoint.sh index 98138a1..8b16443 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -14,7 +14,7 @@ su-exec $UID aria2c \ --bt-save-metadata \ --bt-load-saved-metadata \ --force-save \ - --listen-port=6881-6889 \ + --listen-port=${LISTEN_PORT:-6881-6889} \ --summary-interval=0 \ --seed-ratio=0 \ --dir /data/ \