diff --git a/linux/ecosystem/qbittorrent/docker-entrypoint.sh b/linux/ecosystem/qbittorrent/docker-entrypoint.sh index 1f88e6343..94b2ef603 100755 --- a/linux/ecosystem/qbittorrent/docker-entrypoint.sh +++ b/linux/ecosystem/qbittorrent/docker-entrypoint.sh @@ -2,8 +2,13 @@ : ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles} : ${QBT_PROFILE_NAME:=docker} +: ${QBT_PORT_WEBUI:=8282} +: ${QBT_PORT_TRACKER:=9000} -export LC_ALL=ru_RU.UTF-8 -echo "Starting qBitTorrent..." -qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=8282 \ No newline at end of file +echo "======================================================" +echo "[qbittorrent] Starting `qbittorrent-nox -v`..." +echo "======================================================" + +tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* & +exec qbittorrent-nox -d --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}