mirror of
https://github.com/Mesteriis/hassio-addons-avm.git
synced 2026-09-06 20:33:32 +02:00
add new
This commit is contained in:
11
ympd/root/etc/services.d/ympd/run
Normal file
11
ympd/root/etc/services.d/ympd/run
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user