mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Disable jemalloc via specific ENV variable, see Issue#36237 (#36274)
This commit is contained in:
parent
5f4fdaa171
commit
f94bbdab61
@ -2,9 +2,11 @@
|
||||
# ==============================================================================
|
||||
# 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"
|
||||
|
||||
# Enable Jemalloc for Home Assistant Core, unless disabled
|
||||
if [[ -z "${DISABLE_JEMALLOC+x}" ]]; then
|
||||
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
|
||||
fi
|
||||
exec python3 -m homeassistant --config /config
|
||||
|
Loading…
x
Reference in New Issue
Block a user