mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +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
|
# Start Home Assistant service
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
cd /config || bashio::exit.nok "Can't find config folder!"
|
cd /config || bashio::exit.nok "Can't find config folder!"
|
||||||
|
|
||||||
# Enable Jemalloc for Home Assistant Core
|
# Enable Jemalloc for Home Assistant Core, unless disabled
|
||||||
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
|
if [[ -z "${DISABLE_JEMALLOC+x}" ]]; then
|
||||||
|
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
|
||||||
|
fi
|
||||||
exec python3 -m homeassistant --config /config
|
exec python3 -m homeassistant --config /config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user