mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-05 15:15:58 +02:00
Update run
This commit is contained in:
@@ -30,7 +30,7 @@ if bashio::config.true 'ssl'; then
|
|||||||
#set variables
|
#set variables
|
||||||
CERTFILE="/ssl/$(bashio::config 'certfile')"
|
CERTFILE="/ssl/$(bashio::config 'certfile')"
|
||||||
KEYFILE="/ssl/$(bashio::config 'keyfile')"
|
KEYFILE="/ssl/$(bashio::config 'keyfile')"
|
||||||
options+=(--ssl true)
|
options+=(--ssl)
|
||||||
options+=(--sslcert /ssl/$CERTFILE)
|
options+=(--sslcert /ssl/$CERTFILE)
|
||||||
options+=(--sslkey /ssl/$KEYFILE)
|
options+=(--sslkey /ssl/$KEYFILE)
|
||||||
bashio::log.info "... ssl activated"
|
bashio::log.info "... ssl activated"
|
||||||
@@ -61,4 +61,4 @@ fi
|
|||||||
####################
|
####################
|
||||||
bashio::log.info "... portainer launched"
|
bashio::log.info "... portainer launched"
|
||||||
|
|
||||||
exec /opt/portainer/portainer "${options[@]}"
|
exec /opt/portainer/portainer "${options[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user