mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 07:35:56 +02: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"
|
touch "$HOME/BirdSongs/StreamData/analyzing_now.txt"
|
||||||
|
|
||||||
# Read configuration
|
# Read configuration
|
||||||
set -u
|
|
||||||
source /etc/birdnet/birdnet.conf
|
|
||||||
set +u
|
set +u
|
||||||
|
source /etc/birdnet/birdnet.conf
|
||||||
|
|
||||||
# Set constants
|
# Set constants
|
||||||
srv="birdnet_recording"
|
srv="birdnet_recording"
|
||||||
|
|||||||
@@ -2,9 +2,8 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
# Get values
|
# Get values
|
||||||
set -u
|
|
||||||
source /etc/birdnet/birdnet.conf
|
|
||||||
set +u
|
set +u
|
||||||
|
source /etc/birdnet/birdnet.conf
|
||||||
|
|
||||||
# Create ingress configuration for Caddyfile
|
# Create ingress configuration for Caddyfile
|
||||||
cat << EOF >> /etc/caddy/Caddyfile
|
cat << EOF >> /etc/caddy/Caddyfile
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Performs the recording from the specified RTSP stream or soundcard
|
# Performs the recording from the specified RTSP stream or soundcard
|
||||||
set -u
|
|
||||||
source /etc/birdnet/birdnet.conf
|
|
||||||
set +u
|
set +u
|
||||||
|
source /etc/birdnet/birdnet.conf
|
||||||
|
|
||||||
# Read the logging level from the configuration option
|
# Read the logging level from the configuration option
|
||||||
LOGGING_LEVEL="${LogLevel_BirdnetRecordingService}"
|
LOGGING_LEVEL="${LogLevel_BirdnetRecordingService}"
|
||||||
|
|||||||
@@ -12,9 +12,8 @@ echo "$(log_green "Starting service: throttlerecording")"
|
|||||||
touch "$HOME/BirdSongs/StreamData/analyzing_now.txt"
|
touch "$HOME/BirdSongs/StreamData/analyzing_now.txt"
|
||||||
|
|
||||||
# Read configuration
|
# Read configuration
|
||||||
set -u
|
|
||||||
source /etc/birdnet/birdnet.conf
|
|
||||||
set +u
|
set +u
|
||||||
|
source /etc/birdnet/birdnet.conf
|
||||||
|
|
||||||
# Set constants
|
# Set constants
|
||||||
srv="birdnet_recording"
|
srv="birdnet_recording"
|
||||||
|
|||||||
@@ -2,9 +2,8 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
# Get values
|
# Get values
|
||||||
set -u
|
|
||||||
source /etc/birdnet/birdnet.conf
|
|
||||||
set +u
|
set +u
|
||||||
|
source /etc/birdnet/birdnet.conf
|
||||||
|
|
||||||
# Create ingress configuration for Caddyfile
|
# Create ingress configuration for Caddyfile
|
||||||
cat << EOF >> /etc/caddy/Caddyfile
|
cat << EOF >> /etc/caddy/Caddyfile
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Performs the recording from the specified RTSP stream or soundcard
|
# Performs the recording from the specified RTSP stream or soundcard
|
||||||
set -u
|
|
||||||
source /etc/birdnet/birdnet.conf
|
|
||||||
set +u
|
set +u
|
||||||
|
source /etc/birdnet/birdnet.conf
|
||||||
|
|
||||||
# Read the logging level from the configuration option
|
# Read the logging level from the configuration option
|
||||||
LOGGING_LEVEL="${LogLevel_BirdnetRecordingService}"
|
LOGGING_LEVEL="${LogLevel_BirdnetRecordingService}"
|
||||||
|
|||||||
Reference in New Issue
Block a user