mirror of
https://github.com/hassio-addons/addon-home-panel.git
synced 2025-05-05 03:11:24 +00:00
👕 🔥 Fix linter warnings
This commit is contained in:
parent
f53e8b4cd3
commit
8db2f8250a
1 changed files with 5 additions and 5 deletions
|
@ -11,11 +11,6 @@ hass.log.info "Run API.."
|
||||||
# shellcheck disable=SC2164
|
# shellcheck disable=SC2164
|
||||||
cd /opt/api
|
cd /opt/api
|
||||||
|
|
||||||
local DB_PATH
|
|
||||||
local CONFIG_PATH
|
|
||||||
local SSL_PATH_CERT
|
|
||||||
local SSL_PATH_KEY
|
|
||||||
|
|
||||||
DB_PATH=/config/home-panel.db
|
DB_PATH=/config/home-panel.db
|
||||||
CONFIG_PATH=/config/$(hass.config.get 'config_file')
|
CONFIG_PATH=/config/$(hass.config.get 'config_file')
|
||||||
|
|
||||||
|
@ -24,4 +19,9 @@ if hass.config.true 'ssl'; then
|
||||||
SSL_PATH_KEY="/ssl/$(hass.config.get 'keyfile')"
|
SSL_PATH_KEY="/ssl/$(hass.config.get 'keyfile')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export DB_PATH
|
||||||
|
export CONFIG_PATH
|
||||||
|
export SSL_PATH_CERT
|
||||||
|
export SSL_PATH_KEY
|
||||||
|
|
||||||
exec node index.js
|
exec node index.js
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue