e41c4a12da
- Make Stop() idempotent: return nil instead of error when PID file missing - Add startup reconciliation: auto-start CrowdSec if DB says enabled - Ensure log file exists for LogWatcher to prevent disconnection Fixes: - "Failed to stop CrowdSec: 500 error" when toggling off - CrowdSec showing "not running" despite being enabled in settings - Live logs showing disconnected after container restart
Backend Service
This folder contains the Go API for CaddyProxyManager+.
Prerequisites
- Go 1.24+
Getting started
cp .env.example .env # optional
cd backend
go run ./cmd/api
Tests
cd backend
go test ./...