Update 50-configuration.sh

This commit is contained in:
Alexandre
2021-02-06 12:57:57 +01:00
committed by GitHub
parent db8aba9be4
commit 235025ae5f

View File

@@ -13,6 +13,7 @@ if bashio::config.true 'ssl'; then
#if [ bashio::fs.file_exists "/ssl/$CERTFILE" ] && [ bashio::fs.file_exists "/ssl/$KEYFILE" ]; then
cd /config/qBittorrent
LINE=$(sed -n '/Preferences/=' qBittorrent.conf)
LINE=$[LINE + 1]
sed "$LINEi\ WebUI\HTTPS\Enabled=True" qBittorrent.conf
sed "$LINEi\ WebUI\HTTPS\CertificatePath=/ssl/$CERTFILE" qBittorrent.conf
sed "$LINEi\ WebUI\HTTPS\KeyPath=/ssl/$KEYFILE" qBittorrent.conf