cheit_maps/route_CheitMaps.service

19 lines
424 B
SYSTEMD
Raw Normal View History

2025-04-21 18:45:38 +02:00
[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