mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-22 04:26:28 +01:00
Update 50-configuration.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user