# 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