Update 91-qbittorrent_configuration.sh

This commit is contained in:
Alexandre
2021-09-13 22:30:36 +02:00
committed by GitHub
parent b24c9b7773
commit 1f4fa1c53a

View File

@@ -9,6 +9,15 @@ cd /config/qBittorrent/
LINE=$(sed -n '/Preferences/=' qBittorrent.conf)
LINE=$((LINE + 1))
###########
# TIMEOUT #
###########
if bashio::config.has_value 'run_duration'; then
rm /etc/services.d/qbittorrent/run
mv /etc/services.d/qbittorrent/timer /etc/services.d/qbittorrent/run
fi
##################
# Default folder #
##################