mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-12 02:21:28 +02:00
align to cont-init.d
This commit is contained in:
14
inadyn/rootfs/etc/cont-init.d/99-run.sh
Normal file
14
inadyn/rootfs/etc/cont-init.d/99-run.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bashio
|
||||
|
||||
#################
|
||||
# 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