From 9cdcf59e3ff5ed12a18b1d4cc94ec0b8c4c8e864 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 13 Sep 2021 22:05:49 +0200 Subject: [PATCH] Update run --- qbittorrent/rootfs/etc/services.d/timer/run | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qbittorrent/rootfs/etc/services.d/timer/run b/qbittorrent/rootfs/etc/services.d/timer/run index 4e32a7003..c448a427a 100644 --- a/qbittorrent/rootfs/etc/services.d/timer/run +++ b/qbittorrent/rootfs/etc/services.d/timer/run @@ -9,9 +9,7 @@ if bashio::config.has_value 'run_duration'; then bashio::log.info "Addon will stop after $RUNTIME" sleep $RUNTIME && \ bashio::log.info "Timeout achieved, addon will stop !" && \ - if -n { s6-test $# -ne 0 } - if -n { s6-test ${1} -eq 256 } - s6-svscanctl -t /var/run/s6/services + ./finish else bashio::log.info "run_duration option not defined, addon will run continuously" fi