From 5b0bde0518e3afd5f290f250156f88de90306d30 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 23 Jun 2021 20:58:52 +0200 Subject: [PATCH] Update run.sh --- inadyn/rootfs/run.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/inadyn/rootfs/run.sh b/inadyn/rootfs/run.sh index 2bc8cff44..26f2d8692 100644 --- a/inadyn/rootfs/run.sh +++ b/inadyn/rootfs/run.sh @@ -39,10 +39,12 @@ if bashio::supervisor.ping; then '-----------------------------------------------------------' fi -# ============================================================================== -# Launch -# Launch -# ============================================================================== +################# +# Create config # +################# +mustache-cli /data/options.json /templates/inadyn.mustache > /usr/etc/inadyn.conf -mustache-cli /data/options.json /templates/inadyn.mustache > /usr/local/etc/inadyn.conf +############## +# Launch App # +############## /usr/sbin/inadyn --foreground