mirror of
https://github.com/fmtr/haco.git
synced 2026-11-21 23:46:23 -05:00
12 lines
No EOL
379 B
Bash
12 lines
No EOL
379 B
Bash
#!/usr/bin/with-contenv bashio
|
|
|
|
export HACO_IS_ADDON=true
|
|
export HACO_CONFIGS_PATH="/config/haco"
|
|
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 |