mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-26 15:54:17 +00:00
Update 50-configuration.sh
This commit is contained in:
1 parent
db8aba9be4
commit
235025ae5f
1 file changed
+1
@@ -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