2020-03-22 23:39:37 +00:00
|
|
|
#!/usr/bin/with-contenv bashio
|
|
|
|
# ==============================================================================
|
|
|
|
# Start Home Assistant service
|
|
|
|
# ==============================================================================
|
|
|
|
cd /config || bashio::exit.nok "Can't find config folder!"
|
|
|
|
|
2020-03-25 09:14:15 +00:00
|
|
|
# Enable Jemalloc for Home Assistant Core
|
|
|
|
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
|
|
|
|
|
2020-03-22 23:39:37 +00:00
|
|
|
exec python3 -m homeassistant --config /config
|