mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-25 15:30:32 +02:00
15
inadyn/rootfs/etc/cont-init.d/99-run.sh
Normal file
15
inadyn/rootfs/etc/cont-init.d/99-run.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bashio
|
||||
# shellcheck shell=bash
|
||||
|
||||
#################
|
||||
# Create config #
|
||||
#################
|
||||
mustache-cli /data/options.json /templates/inadyn.mustache >/etc/inadyn.conf
|
||||
|
||||
# Check it
|
||||
/usr/sbin/inadyn --check-config
|
||||
|
||||
##############
|
||||
# Launch App #
|
||||
##############
|
||||
/usr/sbin/inadyn --foreground --force
|
||||
Reference in New Issue
Block a user