From 857f7904e8a94ccd667069ba60cc81dccf237b50 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 19 Mar 2023 19:58:23 +0100 Subject: [PATCH] Align with upstrem https://github.com/alexbelgium/hassio-addons/issues/760 --- qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh b/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh index 1d1741621..9c258f668 100755 --- a/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh +++ b/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh @@ -3,5 +3,6 @@ WEBUI_PORT=${WEBUI_PORT:-8080} -s6-notifyoncheck -d -n 12 -c "nc -z 127.0.0.1 ${WEBUI_PORT}" \ - s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}" +exec \ + s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT}" \ + s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"