[Unit]
Description=Crawl4AI Web Server (Firecrawl-compatible)
After=network.target

[Service]
Type=simple
User=vincent
WorkingDirectory=/home/vincent/tools/crawl4ai-server
Environment=CRAWL4AI_PORT=11235
Environment=PYTHONPATH=/home/vincent/tools/crawl4ai/lib/python3.11/site-packages
ExecStart=/home/vincent/tools/crawl4ai/bin/python3 server.py
Restart=on-failure
RestartSec=5

[Install]
WantedBy=default.target