mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-15 17:08:19 +01:00
Update 99-run.sh
This commit is contained in:
@@ -14,12 +14,7 @@ echo " "
|
||||
########################
|
||||
|
||||
bashio::log.info "Starting app..."
|
||||
COMMAND="$(bashio::config "COMMAND")"
|
||||
# shellcheck disable=SC2086
|
||||
/usr/bin/birdnet-pi $COMMAND & true
|
||||
|
||||
# Wait for app to become available to start nginx
|
||||
bashio::net.wait_for 8080 localhost 900
|
||||
bashio::log.info "Starting NGinx..."
|
||||
exec nginx
|
||||
|
||||
if [ ! -f /config/birdnet.conf ]; then
|
||||
cp /etc/birdnet/birdnet.conf /config
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user