mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-22 08:41:50 +02:00
Update 30-monitoring.sh
This commit is contained in:
@@ -231,7 +231,7 @@ while true; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# 4) Check all essential services are running
|
# 4) Check all essential services are running
|
||||||
services=(birdnet_analysis chart_viewer spectrogram_viewer icecast2 birdnet_recording birdnet_log birdnet_stats)
|
services=(birdnet_analysis chart_viewer spectrogram_viewer birdnet_recording birdnet_log birdnet_stats)
|
||||||
for service in "${services[@]}"; do
|
for service in "${services[@]}"; do
|
||||||
if [[ "$(systemctl is-active "$service")" != "active" ]]; then
|
if [[ "$(systemctl is-active "$service")" != "active" ]]; then
|
||||||
log_red "$(date) ERROR: Service $service is not active!"
|
log_red "$(date) ERROR: Service $service is not active!"
|
||||||
|
|||||||
Reference in New Issue
Block a user