Allow batnet services

This commit is contained in:
Alexandre
2025-03-24 08:15:06 +01:00
committed by GitHub
parent 715aa7c331
commit 521cfa973a

View File

@@ -44,7 +44,7 @@ if ! grep -q "/usr/bin/sudo" "$HOME/BirdNET-Pi/templates/birdnet_analysis.servic
if [[ "$(basename "$file")" != "birdnet_log.service" ]]; then
sed -i "s|ExecStart=|ExecStart=/usr/bin/sudo -u pi |g" "$file"
fi
done < <(find "$HOME/BirdNET-Pi/templates/" -name "birdnet*.service" -print)
done < <(find "$HOME/BirdNET-Pi/templates/" -name "*net*.service" -print)
fi
# Send services log to container logs