Start with HA s6 config
This commit is contained in:
@@ -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 }
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user