Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

feat(dev): add file backup watcher status to dev-check

rcourtman351bd0539e0c
diff --git a/scripts/dev-check.sh b/scripts/dev-check.sh
index 13fb3de0de..29b061a11a 100755
--- a/scripts/dev-check.sh
+++ b/scripts/dev-check.sh
@@ -17,6 +17,7 @@ if [[ "${1:-}" == "--kill" ]]; then
pkill -9 -f "bin/pulse$" 2>/dev/null || true
pkill -9 -f "^\./pulse$" 2>/dev/null || true
pkill -f "node.*vite" 2>/dev/null || true
+ pkill -f "watch-backup.sh" 2>/dev/null || true
sleep 2
echo -e "${GREEN}✓${NC} All dev processes stopped"
exit 0
@@ -71,6 +72,17 @@ else
echo -e "${YELLOW}⚠ Not running (enable in settings)${NC}"
fi
+# Check file backup watcher
+echo -n "File backup watcher: "
+BACKUP_PID=$(pgrep -f "watch-backup.sh" 2>/dev/null | head -1)
+if [[ -n "$BACKUP_PID" ]]; then
+ BACKUP_COUNT=$(ls ~/.pulse-backups 2>/dev/null | wc -l | tr -d ' ')
+ echo -e "${GREEN}✓ Running (PID: $BACKUP_PID, $BACKUP_COUNT backups)${NC}"
+else
+ echo -e "${YELLOW}⚠ Not running (optional - protects against accidental file loss)${NC}"
+ echo " Start: ./scripts/watch-backup.sh &"
+fi
+
# Show recent errors
echo ""
echo "=== Recent Pulse Errors (last 5) ==="