mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 13:45:32 +03:00
Update docker-entrypoint.sh
This commit is contained in:
parent
08078460cc
commit
01e13b4226
@ -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
|
||||
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}
|
||||
|
Loading…
Reference in New Issue
Block a user