Update 30-monitoring.sh

This commit is contained in:
Alexandre
2025-02-04 20:06:41 +01:00
committed by GitHub
parent 532127d872
commit d5c5ec3ca7

View File

@@ -30,6 +30,7 @@ log_green "Starting service: throttlerecording"
# Define Directories, Files, and Constants
########################################
INGEST_DIR="${RECS_DIR/StreamData:-$HOME/BirdSongs/StreamData}"
INGEST_DIR=$(readlink -f "$INGEST_DIR")
if [ /tmp/StreamData ]; then
INGEST_DIR="/tmp/StreamData"
fi