Update birdnet_to_mqtt.sh

This commit is contained in:
Alexandre
2024-07-09 20:27:54 +02:00
committed by GitHub
parent 9e94547d3a
commit cd505ece96

View File

@@ -1,7 +1,5 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
if bashio::services.available 'mqtt'; then
echo "Starting service: mqtt publish"
"$PYTHON_VIRTUAL_ENV" /usr/bin/birdnet_to_mqtt.py &>/proc/1/fd/1
fi
echo "Starting service: mqtt automated publish"
"$PYTHON_VIRTUAL_ENV" /usr/bin/birdnet_to_mqtt.py &>/proc/1/fd/1