1
mirror of https://github.com/home-assistant/core synced 2024-09-06 10:29:55 +02:00
ha-core/rootfs/etc/services.d/home-assistant/run
2020-03-25 10:14:15 +01:00

11 lines
426 B
Plaintext

#!/usr/bin/with-contenv bashio
# ==============================================================================
# Start Home Assistant service
# ==============================================================================
cd /config || bashio::exit.nok "Can't find config folder!"
# Enable Jemalloc for Home Assistant Core
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
exec python3 -m homeassistant --config /config