if ! systemctl is-active --quiet ev-temp; then
    echo "Servicio ev-temp caído, reiniciando..."
    systemctl restart ev-temp
    echo "Reinicio del servicio ev-temp: $(date)" >> /var/www/blue/EV-Temp_rev04/logs/restart.log
fi
