mirror of
https://github.com/fmtr/haco.git
synced 2026-11-26 01:46:27 -05:00
Read in options.json
This commit is contained in:
parent
c17db53053
commit
45d05df6f9
3 changed files with 21 additions and 11 deletions
|
|
@ -2,11 +2,10 @@
|
|||
|
||||
export HACO_IS_ADDON=true
|
||||
export HACO_CONFIGS_PATH="/config/haco"
|
||||
export HACO_OPTIONS_PATH="/data/options.json"
|
||||
export MQTT_HOST="$(bashio::services mqtt 'host')"
|
||||
export MQTT_PASSWORD="$(bashio::services mqtt 'password')"
|
||||
export MQTT_PORT="$(bashio::services mqtt 'port')"
|
||||
export MQTT_USERNAME="$(bashio::services mqtt 'username')"
|
||||
|
||||
cp /data/options.json /config/haco/options.json
|
||||
|
||||
haco-daemon
|
||||
Loading…
Add table
Add a link
Reference in a new issue