From d51f12199de76926214142a4f64ac3f260c1132e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 12 Oct 2024 08:34:44 +0200 Subject: [PATCH] Update 30-monitoring.sh --- birdnet-pi/rootfs/custom-services.d/30-monitoring.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh b/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh index 67ad729ef..9e9b37781 100755 --- a/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh +++ b/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh @@ -12,7 +12,10 @@ echo "$(log_green "Starting service: throttlerecording")" touch "$HOME/BirdSongs/StreamData/analyzing_now.txt" # Read configuration +set -u source /config/birdnet.conf 2>/dev/null +set +u + # Set constants srv="birdnet_recording" srv2="birdnet_analysis"