Improve birdnet.conf source

This commit is contained in:
Alexandre
2024-10-12 08:49:04 +02:00
parent dfaf1c109e
commit b583406776
6 changed files with 14 additions and 6 deletions

View File

@@ -2,7 +2,9 @@
# shellcheck shell=bash
# Get values
set -u
source /etc/birdnet/birdnet.conf
set +u
# Create ingress configuration for Caddyfile
cat << EOF >> /etc/caddy/Caddyfile

View File

@@ -1,6 +1,8 @@
#!/usr/bin/env bash
# Performs the recording from the specified RTSP stream or soundcard
set -u
source /etc/birdnet/birdnet.conf
set +u
# Read the logging level from the configuration option
LOGGING_LEVEL="${LogLevel_BirdnetRecordingService}"