mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-03 16:00:29 +01:00
Update and rename 03_throttlerecording to 03_throttlerecording
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user