mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 17:38:17 +01:00
Correct source
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user