21 lines
554 B
Desktop File
21 lines
554 B
Desktop File
[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
|