Start with HA s6 config

This commit is contained in:
Fredrik Baberg
2023-03-15 11:37:35 +01:00
parent 04d7fd3520
commit 6cdff6ea0b
9 changed files with 52 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/execlineb -S0
# ==============================================================================
# Add-on: mjpg-streamer
# Take down the S6 supervision tree when mjpg-streamer fails
# Add-on: camera-ustreamer
# Take down the S6 supervision tree when ustreamer fails
# ==============================================================================
if -n { s6-test $# -ne 0 }
if -n { s6-test ${1} -eq 256 }

View File

@@ -6,4 +6,5 @@
bashio::log.info "Starting mjpg-streamer.."
mjpg_streamer -i "$(bashio::config 'mjpg_input')" -o "output_http.so -w /www_mjpg -p 80"
# mjpg_streamer -i "$(bashio::config 'mjpg_input')" -o "output_http.so -w /www_mjpg -p 80"
exec ustreamer --host=127.0.0.1 --port=80