Use a service

This commit is contained in:
Alexandre authored and GitHub committed 2024-07-09 20:27:32 +02:00
1 parent 86469dbc67
commit 9e94547d3a
1 file changed
+2 -2
+2 -2
View File
@@ -18,8 +18,8 @@ if bashio::services.available 'mqtt' && ! bashio::config.true 'MQTT_DISABLED' ;
# Copy script
cp /helpers/birdnet_to_mqtt.py /usr/bin/birdnet_to_mqtt.py
cp /helpers/birdnet_to_mqtt.sh /custom-services.d
chmod 777 /usr/bin/birdnet_to_mqtt.py
chmod 777 /custom-services.d/birdnet_to_mqtt.sh
# Start python
"$PYTHON_VIRTUAL_ENV" /usr/bin/birdnet_to_mqtt.py &>/proc/1/fd/1 & true
fi