Enable Jemalloc for docker Core (#33237)
This commit is contained in:
@@ -2,4 +2,6 @@
|
||||
# ==============================================================================
|
||||
# Take down the S6 supervision tree when Home Assistant fails
|
||||
# ==============================================================================
|
||||
if { s6-test ${1} -ne 100 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
@@ -4,4 +4,7 @@
|
||||
# ==============================================================================
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user