From 9266d4c92f4576d14e603e7233f4d2ac6a1332ea Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 13 Sep 2021 22:20:31 +0200 Subject: [PATCH] Delete run --- qbittorrent/rootfs/etc/services.d/timer/run | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 qbittorrent/rootfs/etc/services.d/timer/run diff --git a/qbittorrent/rootfs/etc/services.d/timer/run b/qbittorrent/rootfs/etc/services.d/timer/run deleted file mode 100644 index 2578d6b11..000000000 --- a/qbittorrent/rootfs/etc/services.d/timer/run +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/with-contenv bashio - -########### -# TIMEOUT # -########### - -if bashio::config.has_value 'run_duration'; then - RUNTIME=$(bashio::config 'run_duration') - bashio::log.info "Addon will stop after $RUNTIME" - sleep $RUNTIME && \ - bashio::log.info "Timeout achieved, addon will stop !" && \ - exec ./finish -else - bashio::log.info "run_duration option not defined, addon will run continuously" -fi