A live bird collage card for your Home Assistant dashboard.
update snippets for daily_plot
frederikd4055b63b98b
diff --git a/scripts/install_services.sh b/scripts/install_services.shindex 1585259e..bd9244a4 100755--- a/scripts/install_services.sh+++ b/scripts/install_services.sh@@ -312,7 +312,7 @@ Restart=alwaysRestartSec=120Type=simpleUser=$USER-ExecStart=$PYTHON_VIRTUAL_ENV /usr/local/bin/daily_plot.py+ExecStart=$PYTHON_VIRTUAL_ENV /usr/local/bin/daily_plot.py --daemon --sleep 2[Install]WantedBy=multi-user.targetEOFdiff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.shindex f6e73607..5088f3dc 100755--- a/scripts/update_birdnet_snippets.sh+++ b/scripts/update_birdnet_snippets.sh@@ -55,7 +55,10 @@ ensure_python_package() {}# update snippets below-+if ! grep 'daemon' $HOME/BirdNET-Pi/templates/chart_viewer.service &>/dev/null;then+ sed -i "s|daily_plot.py.*|daily_plot.py --daemon --sleep 2|" ~/BirdNET-Pi/templates/chart_viewer.service+ systemctl daemon-reload && restart_services.sh+fi# update snippets abovesystemctl daemon-reload