Update 50-configuration.sh

This commit is contained in:
Alexandre
2021-02-06 12:13:23 +01:00
committed by GitHub
parent 2e8b727e1d
commit 4e3c587ca7

View File

@@ -11,9 +11,9 @@ if bashio::config.true 'ssl'; then
KEYFILE=$(bashio::config 'keyfile')
#Check if certificates exist
#if [ bashio::fs.file_exists "/ssl/$CERTFILE" ] && [ bashio::fs.file_exists "/ssl/$KEYFILE" ]; then
echo 'WebUI\HTTPS\Enabled=True' >> /config/qbittorrent.conf
echo "WebUI\HTTPS\CertificatePath=/ssl/$CERTFILE" >> /config/qbittorrent.conf
echo "WebUI\HTTPS\KeyPath=/ssl/$KEYFILE" >> /config/qbittorrent.conf
echo 'WebUI\HTTPS\Enabled=True' >> /config/qBittorrent/qBittorrent.conf
echo "WebUI\HTTPS\CertificatePath=/ssl/$CERTFILE" >> /config/qBittorrent/qBittorrent.conf
echo "WebUI\HTTPS\KeyPath=/ssl/$KEYFILE" >> /config/qBittorrent/qBittorrent.conf
#else bashio::log.error "Certificates not found in $CERTFILE and/or $KEYFILE"
#fi
fi