lecoffre_node/scripts/healthchecks/blindbit-progress.sh
2025-09-22 05:27:34 +00:00

18 lines
493 B
Bash
Executable File

#!/bin/bash
# Script de test de progression pour BlindBit
# Vérifier si le processus BlindBit est en cours d'exécution
if pgrep main > /dev/null 2>/dev/null; then
# Vérifier l'API
if wget -q --spider http://localhost:8000/tweaks/1 2>/dev/null; then
echo 'BlindBit ready: Oracle service responding'
exit 0
else
echo 'BlindBit starting: Oracle service initializing'
exit 1
fi
else
echo 'BlindBit starting: Process not ready'
exit 1
fi