mirror of
https://github.com/adrianjagielak/home-assistant-futurehome.git
synced 2025-11-18 17:19:02 +00:00
Add initial version of the add-on code
This commit is contained in:
13
futurehome/rootfs/etc/services.d/futurehome/run
Executable file
13
futurehome/rootfs/etc/services.d/futurehome/run
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# s6-overlay docs: https://github.com/just-containers/s6-overlay
|
||||
# ==============================================================================
|
||||
|
||||
set -e
|
||||
|
||||
export FH_HUB_IP=$(bashio::config 'hub_ip')
|
||||
export FH_USERNAME=$(bashio::config 'username')
|
||||
export FH_PASSWORD=$(bashio::config 'password')
|
||||
export LOG_LEVEL=${LOG_LEVEL:-info}
|
||||
|
||||
/usr/bin/node /usr/src/app/dist/index.js
|
||||
Reference in New Issue
Block a user