Integrate dockerbuild (#33168)

* Integrate dockerbuild

* cleanup
This commit is contained in:
Pascal Vizeli
2020-03-23 00:39:37 +01:00
committed by GitHub
parent e344c2ea64
commit 6e6ad94df6
6 changed files with 52 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
#!/usr/bin/execlineb -S0
# ==============================================================================
# Take down the S6 supervision tree when Home Assistant fails
# ==============================================================================
s6-svscanctl -t /var/run/s6/services

View File

@@ -0,0 +1,7 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# Start Home Assistant service
# ==============================================================================
cd /config || bashio::exit.nok "Can't find config folder!"
exec python3 -m homeassistant --config /config