From f06da82bef94771cc70fd12cc112dd58a19f7b95 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 14 Sep 2021 07:52:10 +0200 Subject: [PATCH] Correct code 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 b3da8f6e5..ad4e3cf5a 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 !" && \ - exec ./finish + bashio::addon.stop 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 !" && \ - exec ./finish + bashio::addon.stop fi