chore: archive recoverable gateway source baseline

This commit is contained in:
zenord
2026-10-11 20:57:05 +08:00
parent 9b428fb76f
commit 19a7adccd9
58 changed files with 4060 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
[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