From 0271afb6b21203090fade5e7b652496bdd25c449 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 14 Sep 2021 07:26:16 +0200 Subject: [PATCH] Update timer --- qbittorrent/rootfs/etc/services.d/qbittorrent/timer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbittorrent/rootfs/etc/services.d/qbittorrent/timer b/qbittorrent/rootfs/etc/services.d/qbittorrent/timer index ae7d61d58..b3da8f6e5 100644 --- a/qbittorrent/rootfs/etc/services.d/qbittorrent/timer +++ b/qbittorrent/rootfs/etc/services.d/qbittorrent/timer @@ -8,11 +8,11 @@ if bashio::config.true 'openvpn_enabled'; then & bashio::log.info "Addon will stop after $RUNTIME" && \ sleep $RUNTIME && \ bashio::log.info "Timeout achieved, addon will stop !" && \ - exit 0 + exec ./finish else exec s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}" \ & bashio::log.info "Addon will stop after $RUNTIME" && \ sleep $RUNTIME && \ bashio::log.info "Timeout achieved, addon will stop !" && \ - exit 0 + exec ./finish fi