Update project docs and problem notes
This commit is contained in:
25
scripts/status.sh
Executable file
25
scripts/status.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
# MD Hub Secure - Quick status check
|
||||
|
||||
STATUS_FILE="/Users/tim/developer/md-hub-secure/docs/STATUS.md"
|
||||
PID_FILE="/Users/tim/developer/md-hub-secure/.monitor.pid"
|
||||
|
||||
echo ""
|
||||
if [[ -f "$PID_FILE" ]]; then
|
||||
PID=$(cat "$PID_FILE")
|
||||
if kill -0 "$PID" 2>/dev/null; then
|
||||
echo "Monitor: RUNNING (PID: $PID)"
|
||||
else
|
||||
echo "Monitor: STOPPED (stale PID file)"
|
||||
fi
|
||||
else
|
||||
echo "Monitor: NOT RUNNING"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
|
||||
if [[ -f "$STATUS_FILE" ]]; then
|
||||
cat "$STATUS_FILE"
|
||||
else
|
||||
echo "No status file found. Run ./scripts/install-monitor.sh to start monitoring."
|
||||
fi
|
||||
Reference in New Issue
Block a user