cheit_maps/route_CheitMaps.service
2025-04-21 18:45:38 +02:00

18 lines
424 B
Desktop File

[Unit]
Description=CheitMaps-server
After=network.target
[Service]
Type=idle
User=etnetop
WorkingDirectory=/home/etnetop/FastapiServers/CheitMaps
ExecStart=/usr/bin/uvicorn main:app --host 0.0.0.0 --port 8004
Restart=always
RestartSec=10
Environment="PYTHONUNBUFFERED=1"
StandardOutput=append:/var/log/fastapi-app-CheitMaps.log
StandardError=append:/var/log/fastapi-app-CheitMaps.log
[Install]
WantedBy=multi-user.target