chore: archive recoverable gateway source baseline
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# User service example. Replace all /ABSOLUTE/PATH placeholders before installing.
|
||||
[Unit]
|
||||
Description=LAN Voice HTTPS dialogue gateway
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/ABSOLUTE/PATH/TO/baji-vc/gateway
|
||||
EnvironmentFile=/ABSOLUTE/PATH/TO/PRIVATE/gateway.env
|
||||
ExecStart=/ABSOLUTE/PATH/TO/baji-vc/gateway/.venv/bin/python -m uvicorn gateway:app --host 0.0.0.0 --port 5011 --ssl-certfile /ABSOLUTE/PATH/TO/PRIVATE/gateway-cert.pem --ssl-keyfile /ABSOLUTE/PATH/TO/PRIVATE/gateway-key.pem
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -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
|
||||
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=LAN Voice Silero CPU VAD
|
||||
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/vad.env
|
||||
ExecStart=/home/gorios-spark-2/lan-voice/.venv/bin/python -m uvicorn app:app --host 192.168.31.61 --port 5010 --workers 1 --ws-max-size 65536 --ws-max-queue 4 --no-access-log
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
NoNewPrivileges=true
|
||||
UMask=0077
|
||||
MemoryMax=512M
|
||||
TasksMax=64
|
||||
TimeoutStopSec=15
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user