mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-14 19:38:04 +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=$((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 #
|
||||
##################
|
||||
|
||||
Reference in New Issue
Block a user