A live bird collage card for your Home Assistant dashboard.
Update restart_services.sh
Patrick McGuire76a59954c3eb
diff --git a/scripts/restart_services.sh b/scripts/restart_services.shindex 8bd10642..37227ac1 100755--- a/scripts/restart_services.sh+++ b/scripts/restart_services.sh@@ -7,7 +7,7 @@ sudo systemctl stop birdnet_recording.servicesudo rm -rf ${RECS_DIR}/$(date +%B-%Y/%d-%A)/*sudo systemctl start birdnet_recording.service-services=($(awk '/service/ && /systemctl/ && !/php/ {print $3}' ${my_dir}/install_services.sh | sort))+services=($(awk '/systemctl/ && !/php/ && !/caddy/ && !/target/ {print $3}' <(sed -e 's/--now//g' ${my_dir}/update_services.sh) | sort | uniq ))for i in "${services[@]}";dosudo systemctl restart "${i}"