mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-09 14:42:29 +02:00
Merge pull request #2702 from alexbelgium/claude/fix-qbittorrent-arm64-startup-zFYXB
Fix qbittorrent startup loop on aarch64: drop s6-notifyoncheck
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
|
|
||||||
|
## 5.2.0-2 (2026-05-10)
|
||||||
|
- Fix startup loop on aarch64: drop s6-notifyoncheck wrapper so s6 supervises qbittorrent-nox directly (LSIO arm64 image has no notification-fd, causing EBADF restart loop)
|
||||||
|
|
||||||
## 5.2.0-1 (2026-05-10)
|
## 5.2.0-1 (2026-05-10)
|
||||||
- Fix qbittorrent-nox path (/usr/bin → /app) after LSIO image update
|
- Fix qbittorrent-nox path (/usr/bin → /app) after LSIO image update
|
||||||
|
|
||||||
|
|||||||
@@ -143,4 +143,4 @@ schema:
|
|||||||
slug: qbittorrent
|
slug: qbittorrent
|
||||||
udev: true
|
udev: true
|
||||||
url: https://github.com/alexbelgium/hassio-addons
|
url: https://github.com/alexbelgium/hassio-addons
|
||||||
version: "5.2.0-1"
|
version: "5.2.0-2"
|
||||||
|
|||||||
@@ -37,13 +37,17 @@ fi
|
|||||||
# --- Launch qBittorrent ---
|
# --- Launch qBittorrent ---
|
||||||
|
|
||||||
# Determine log output based on silent mode
|
# Determine log output based on silent mode
|
||||||
QB_OUTPUT="/dev/stdout"
|
QB_OUTPUT="/proc/1/fd/1"
|
||||||
if bashio::config.true 'silent'; then
|
if bashio::config.true 'silent'; then
|
||||||
QB_OUTPUT="/dev/null"
|
QB_OUTPUT="/dev/null"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bashio::log.info "Starting qBittorrent..."
|
bashio::log.info "Starting qBittorrent..."
|
||||||
|
|
||||||
exec \
|
if [ -f /etc/s6-overlay/s6-rc.d/svc-qbittorrent/notification-fd ]; then
|
||||||
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT}" \
|
exec \
|
||||||
s6-setuidgid abc /app/qbittorrent-nox --webui-port="${WEBUI_PORT}" > "${QB_OUTPUT}"
|
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT}" \
|
||||||
|
s6-setuidgid abc /app/qbittorrent-nox --webui-port="${WEBUI_PORT}" > "${QB_OUTPUT}"
|
||||||
|
else
|
||||||
|
exec s6-setuidgid abc /app/qbittorrent-nox --webui-port="${WEBUI_PORT}" > "${QB_OUTPUT}"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user