mirror of
https://github.com/hassio-addons/addon-home-panel.git
synced 2025-05-04 19:01:21 +00:00
🔨 Allow log_level to be used with API
This commit is contained in:
parent
80dc04317c
commit
2b7207084e
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ hass.log.info "Run API.."
|
|||
cd /opt/api \
|
||||
|| hass.die "Could not change into API directory"
|
||||
|
||||
LOG_LEVEL=$(hass.config.get 'log_level')
|
||||
DB_PATH=/config/home-panel.db
|
||||
CONFIG_PATH=/config/$(hass.config.get 'config_file')
|
||||
|
||||
|
@ -19,6 +20,7 @@ if hass.config.true 'ssl'; then
|
|||
SSL_PATH_KEY="/ssl/$(hass.config.get 'keyfile')"
|
||||
fi
|
||||
|
||||
export LOG_LEVEL
|
||||
export DB_PATH
|
||||
export CONFIG_PATH
|
||||
export SSL_PATH_CERT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue