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
|
||||
Reference in New Issue
Block a user