mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-26 06:35:40 +03:00
17 lines
582 B
Bash
Executable File
17 lines
582 B
Bash
Executable File
#!/bin/bash
|
|
|
|
: ${QBT_DIR:=/opt/qbittorrent}
|
|
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
|
|
: ${QBT_PROFILE_NAME:=docker}
|
|
: ${QBT_PORT_WEBUI:=8282}
|
|
: ${QBT_PORT_NAT:=1337}
|
|
: ${QBT_PORT_TRACKER:=9000}
|
|
|
|
|
|
echo "======================================================"
|
|
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
|
|
echo "======================================================"
|
|
|
|
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
|
|
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}
|