feat: Add Linux deployment scripts and server logs view
- Add deployment/linux/ with deploy.sh for deploying from Claude-Agent LXC to Windows server - Add ServerLogsView.vue for viewing server logs from frontend - Add shared/routes/system.py for system health endpoints - Update CLAUDE.md with quick deploy instructions - Improve Windows deployment scripts (ROA2WEB-Console.ps1) - Fix OCR service validation and worker pool improvements - Update environment config examples - Various script permission and startup fixes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
4
backend/run-with-restart.sh
Normal file → Executable file
4
backend/run-with-restart.sh
Normal file → Executable file
@@ -2,6 +2,10 @@
|
||||
# Wrapper script that auto-restarts uvicorn on crash
|
||||
# Usage: ./run-with-restart.sh [port] [log_file]
|
||||
|
||||
# Get script directory and activate venv
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "$SCRIPT_DIR/venv/bin/activate"
|
||||
|
||||
PORT=${1:-8000}
|
||||
LOG_FILE=${2:-/tmp/unified_backend.log}
|
||||
MAX_RESTARTS=10
|
||||
|
||||
Reference in New Issue
Block a user