We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f4fdaa commit f94bbdaCopy full SHA for f94bbda
rootfs/etc/services.d/home-assistant/run
@@ -2,9 +2,11 @@
2
# ==============================================================================
3
# Start Home Assistant service
4
5
-cd /config || bashio::exit.nok "Can't find config folder!"
6
7
-# Enable Jemalloc for Home Assistant Core
8
-export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
+cd /config || bashio::exit.nok "Can't find config folder!"
9
+# Enable Jemalloc for Home Assistant Core, unless disabled
+if [[ -z "${DISABLE_JEMALLOC+x}" ]]; then
10
+ export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
11
+fi
12
exec python3 -m homeassistant --config /config
0 commit comments