Merge branch 'master' into copilot/fix-qbittorrent-startup-issue

This commit is contained in:
Alexandre
2026-05-10 17:19:53 +02:00
committed by GitHub

View File

@@ -56,6 +56,20 @@ if [[ -z "${QB_BIN}" ]]; then
exit 1
fi
# Find qbittorrent-nox binary across different LSIO image layouts
QB_BIN=""
for candidate in /app/qbittorrent-nox /usr/bin/qbittorrent-nox /usr/local/bin/qbittorrent-nox; do
if [[ -x "${candidate}" ]]; then
QB_BIN="${candidate}"
break
fi
done
if [[ -z "${QB_BIN}" ]]; then
bashio::log.fatal "qbittorrent-nox binary not found"
exit 1
fi
bashio::log.info "Starting qBittorrent..."
# Suppress output in silent mode by redirecting the current shell's stdout/stderr