heartbeat stuff

This commit is contained in:
ehpersonal38
2022-10-08 12:16:54 -04:00
parent eb44c3008c
commit 8705ff4403
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -187,6 +187,12 @@ AUDIOFMT=mp3
## DATABASE_LANG is the language used for the bird species database
DATABASE_LANG=en
## HEARTBEAT_URL is a location to ping every time some analysis is done
## no information is sent to the the URL, its a heart beat to show that the
## analysis is continuing
HEARTBEAT_URL=
## SILENCE_UPDATE_INDICATOR is for quieting the display of how many commits
## your installation is behind by, relative to the Github repo. This number
## appears next to "Tools" when you're 50 or more commits behind.
+3
View File
@@ -135,6 +135,9 @@ fi
if ! grep FREQSHIFT_PITCH /etc/birdnet/birdnet.conf &>/dev/null;then
sudo -u$USER echo "FREQSHIFT_PITCH=-1500" >> /etc/birdnet/birdnet.conf
fi
if ! grep HEARTBEAT_URL /etc/birdnet/birdnet.conf &>/dev/null;then
sudo -u$USER echo "HEARTBEAT_URL=" >> /etc/birdnet/birdnet.conf
fi
sudo systemctl daemon-reload
restart_services.sh