mirror of
https://github.com/linuxserver/docker-qbittorrent.git
synced 2025-06-27 17:00:42 -04:00
Add torrenting port configuration support
This commit is contained in:
parent
6d3d9697e1
commit
e0e573c248
3 changed files with 20 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
|||
# shellcheck shell=bash
|
||||
|
||||
WEBUI_PORT=${WEBUI_PORT:-8080}
|
||||
TORRENTING_PORT=${TORRENTING_PORT:-6881}
|
||||
|
||||
exec \
|
||||
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT}" \
|
||||
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"
|
||||
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}" --torrenting-port="${TORRENTING_PORT}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue