Переделано под свежий Python и Vosk
[voicecontrol.git] / vosk-client.service
1 [Unit]
2 Description=Vosk ASR service client
3
4 [Service]
5 Environment=PULSE_SERVER=localhost
6 Type=simple
7 ExecStartPre=/usr/bin/pactl set-source-volume alsa_input.usb-TP6920_TP6920_0621-00.analog-mono 135%
8 ExecStart=/usr/local/bin/voicecontrol /etc/vosk/voicecontrol.ini
9 Restart=always
10 RestartSec=30s
11
12 [Install]
13 WantedBy=multi-user.target