[Unit] Description=TimeMaster Backend API After=network.target postgresql.service [Service] Type=simple User=root WorkingDirectory=/opt/timemaster/backend Environment=PATH=/opt/timemaster/backend/venv/bin ExecStart=/opt/timemaster/backend/venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000 --proxy-headers --forwarded-allow-ips=127.0.0.1 Restart=on-failure RestartSec=5 [Install] WantedBy=multi-user.target