mirror of
https://github.com/Mesteriis/hassio-addons-avm.git
synced 2026-07-01 16:18:40 +02:00
12 lines
263 B
Plaintext
12 lines
263 B
Plaintext
#!/usr/bin/with-contenv bashio
|
|
set -e
|
|
|
|
# Enable Jemalloc for better memory handling
|
|
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
|
|
|
|
host=$(bashio::config 'host')
|
|
port=$(bashio::config 'port')
|
|
|
|
bashio::log.info 'Start ympd'
|
|
ympd -w 6680 -h "$host" -p "$port"
|