[Unit] Description=LAN Voice HTTPS browser simulator and dialogue gateway After=network-online.target Wants=network-online.target [Service] Type=simple WorkingDirectory=/home/gorios-spark-2/lan-voice EnvironmentFile=/home/gorios-spark-2/lan-voice/.runtime/gateway.env ExecStart=/home/gorios-spark-2/lan-voice/.venv/bin/python -m uvicorn gateway:app --host 192.168.31.61 --port 5011 --workers 1 --no-proxy-headers --ws-max-size 65536 --ws-max-queue 4 --no-access-log --ssl-keyfile /home/gorios-spark-2/lan-voice/.runtime/gateway-key.pem --ssl-certfile /home/gorios-spark-2/lan-voice/.runtime/gateway-cert.pem Restart=on-failure RestartSec=3 NoNewPrivileges=true UMask=0077 MemoryMax=512M TasksMax=64 TimeoutStopSec=15 [Install] WantedBy=default.target