From b62eddd3c8eb46a4e41362767c1f9d26e8487183 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 4 Sep 2022 15:23:43 +0200 Subject: [PATCH] Update timer --- qbittorrent/rootfs/etc/services.d/qbittorrent/timer | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/services.d/qbittorrent/timer b/qbittorrent/rootfs/etc/services.d/qbittorrent/timer index cdcca4042..edc3f1e96 100644 --- a/qbittorrent/rootfs/etc/services.d/qbittorrent/timer +++ b/qbittorrent/rootfs/etc/services.d/qbittorrent/timer @@ -9,7 +9,8 @@ if bashio::config.true 'openvpn_enabled'; then & bashio::log.warning "The run_duration option is set. The addon will stop after $RUNTIME" else - exec s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}" \ + 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}" & bashio::log.warning "The run_duration option is set. The addon will stop after $RUNTIME" fi