Correct source

This commit is contained in:
Alexandre
2024-10-12 13:37:38 +02:00
parent 68b3639a3a
commit ce2afea9a6
6 changed files with 6 additions and 12 deletions

View File

@@ -12,9 +12,8 @@ echo "$(log_green "Starting service: throttlerecording")"
touch "$HOME/BirdSongs/StreamData/analyzing_now.txt"
# Read configuration
set -u
source /etc/birdnet/birdnet.conf
set +u
source /etc/birdnet/birdnet.conf
# Set constants
srv="birdnet_recording"

View File

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

View File

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

View File

@@ -12,9 +12,8 @@ echo "$(log_green "Starting service: throttlerecording")"
touch "$HOME/BirdSongs/StreamData/analyzing_now.txt"
# Read configuration
set -u
source /etc/birdnet/birdnet.conf
set +u
source /etc/birdnet/birdnet.conf
# Set constants
srv="birdnet_recording"

View File

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

View File

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