mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Update birdnet_to_mqtt.sh
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
if bashio::services.available 'mqtt'; then
|
echo "Starting service: mqtt automated publish"
|
||||||
echo "Starting service: mqtt publish"
|
"$PYTHON_VIRTUAL_ENV" /usr/bin/birdnet_to_mqtt.py &>/proc/1/fd/1
|
||||||
"$PYTHON_VIRTUAL_ENV" /usr/bin/birdnet_to_mqtt.py &>/proc/1/fd/1
|
|
||||||
fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user