Files
gniza4linux/etc/gniza-web.service
shuki 1a24371446 Replace Flask web dashboard with textual-serve
Serves the exact same TUI in the browser via textual-serve.
No more separate Flask app, API keys, or login page needed.

- gniza web start now runs textual-serve instead of Flask
- Simplified systemd service to use python3 -m tui --web
- Removed web_enabled and web_api_key from settings/models
- Simplified install script web setup (no API key generation)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 06:05:29 +02:00

16 lines
333 B
Desktop File

[Unit]
Description=GNIZA Web Dashboard
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 -m tui --web --host 0.0.0.0 --port 8080
WorkingDirectory=/usr/local/gniza
Environment=GNIZA_DIR=/usr/local/gniza
Environment=PYTHONPATH=/usr/local/gniza
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target