mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-20 07:41:48 +02:00
Update 91-qbittorrent_configuration.sh
This commit is contained in:
@@ -9,6 +9,15 @@ cd /config/qBittorrent/
|
|||||||
LINE=$(sed -n '/Preferences/=' qBittorrent.conf)
|
LINE=$(sed -n '/Preferences/=' qBittorrent.conf)
|
||||||
LINE=$((LINE + 1))
|
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 #
|
# Default folder #
|
||||||
##################
|
##################
|
||||||
|
|||||||
Reference in New Issue
Block a user