re-uploading work

This commit is contained in:
2026-02-04 17:46:30 -06:00
commit 3b14c65998
1388 changed files with 381262 additions and 0 deletions

30
scripts/status-all-services.sh Executable file
View File

@@ -0,0 +1,30 @@
#!/bin/bash
# Check status of all Attune services
echo "Service Status:"
echo "==============="
check_service() {
local name=$1
local pidfile="logs/${name}.pid"
if [ -f "$pidfile" ]; then
local pid=$(cat "$pidfile")
if ps -p $pid > /dev/null 2>&1; then
echo "$name (PID: $pid) - RUNNING"
else
echo "$name - NOT RUNNING (stale PID file)"
fi
else
echo "$name - NOT RUNNING"
fi
}
check_service "API"
check_service "Executor"
check_service "Worker"
check_service "Sensor"
check_service "Notifier"
echo ""
echo "To view logs: tail -f logs/<service>.log"