Flask backend and ui tweaks

This commit is contained in:
Mikkeli Matlock
2026-01-26 11:35:17 +09:00
parent 38229543af
commit 60a1c1811e
10 changed files with 221 additions and 43 deletions

View File

@@ -0,0 +1,19 @@
[Unit]
Description=Smart Serow GPS Backend
After=network.target gpsd.service
Wants=gpsd.service
[Service]
Type=simple
User=pi
Group=pi
WorkingDirectory=/opt/smartserow-backend
ExecStart=/home/pi/.local/bin/uv run python main.py
Restart=always
RestartSec=5
# Environment
Environment=PYTHONUNBUFFERED=1
[Install]
WantedBy=multi-user.target