mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-29 11:54:04 +02:00
Update 50-configuration.sh
This commit is contained in:
@@ -11,9 +11,9 @@ if bashio::config.true 'ssl'; then
|
|||||||
KEYFILE=$(bashio::config 'keyfile')
|
KEYFILE=$(bashio::config 'keyfile')
|
||||||
#Check if certificates exist
|
#Check if certificates exist
|
||||||
#if [ bashio::fs.file_exists "/ssl/$CERTFILE" ] && [ bashio::fs.file_exists "/ssl/$KEYFILE" ]; then
|
#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\Enabled=True' >> /config/qBittorrent/qBittorrent.conf
|
||||||
echo "WebUI\HTTPS\CertificatePath=/ssl/$CERTFILE" >> /config/qbittorrent.conf
|
echo "WebUI\HTTPS\CertificatePath=/ssl/$CERTFILE" >> /config/qBittorrent/qBittorrent.conf
|
||||||
echo "WebUI\HTTPS\KeyPath=/ssl/$KEYFILE" >> /config/qbittorrent.conf
|
echo "WebUI\HTTPS\KeyPath=/ssl/$KEYFILE" >> /config/qBittorrent/qBittorrent.conf
|
||||||
#else bashio::log.error "Certificates not found in $CERTFILE and/or $KEYFILE"
|
#else bashio::log.error "Certificates not found in $CERTFILE and/or $KEYFILE"
|
||||||
#fi
|
#fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user