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