mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-28 17:00:33 +02:00
Merge branch 'master' into copilot/fix-qbittorrent-startup-issue
This commit is contained in:
@@ -56,6 +56,20 @@ if [[ -z "${QB_BIN}" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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..."
|
bashio::log.info "Starting qBittorrent..."
|
||||||
|
|
||||||
# Suppress output in silent mode by redirecting the current shell's stdout/stderr
|
# Suppress output in silent mode by redirecting the current shell's stdout/stderr
|
||||||
|
|||||||
Reference in New Issue
Block a user