Update and rename 03_throttlerecording to 03_throttlerecording

This commit is contained in:
Alexandre
2024-04-28 19:14:26 +02:00
committed by GitHub
parent 511d826fa3
commit e68b8b5838

View File

@@ -37,7 +37,7 @@ while [ 1 ];do
else
state="active"
fi
echo "$(date) INFO ${wavs} wav files waiting in ${ingest_dir}, $srv state is $state"
echo "$(date) INFO ${wavs} wav files waiting in $(readlink -f $ingest_dir), $srv state is $state"
if [ "$wavs" -gt 100 -a "$state" = "active" ];then
sudo systemctl stop "$srv"
echo "$(date) WARNING stopped $srv service"