central/systemd/central-gui.service
Matt Johnson 614312db36 feat(gui): add FastAPI + Jinja2 + HTMX scaffold
- FastAPI app with Jinja2 templates and Pico CSS + HTMX from CDN
- Routes: GET / (placeholder page), GET /health (JSON healthcheck)
- systemd unit (no Install section - manual start only)
- TestClient tests for both endpoints

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-17 04:32:39 +00:00

20 lines
409 B
Desktop File

[Unit]
Description=Central GUI (FastAPI + HTMX)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=central
Group=central
WorkingDirectory=/opt/central
Environment=HOME=/opt/central
ExecStart=/opt/central/.venv/bin/central-gui
Restart=on-failure
RestartSec=5
NoNewPrivileges=true
ProtectSystem=full
ProtectHome=true
PrivateTmp=true
StandardOutput=journal
StandardError=journal