29 lines
690 B
Desktop File
29 lines
690 B
Desktop File
[Unit]
|
|
Description=Linux Voice Assistant (PulseAudio)
|
|
After=pulseaudio.service
|
|
Wants=pulseaudio.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/home/pi/linux-voice-assistant
|
|
Environment=PYTHONUNBUFFERED=1
|
|
|
|
ExecStart=/home/pi/linux-voice-assistant/script/run \
|
|
--name 'Linux Voice Assistant' \
|
|
--mqtt-host <IP_Adress> \
|
|
--mqtt-port 1883 \
|
|
--mqtt-username <user_name> \
|
|
--mqtt-password <password> \
|
|
--wake-word-dir wakewords/openWakeWord \
|
|
--wake-word-dir wakewords \
|
|
--stop-model stop \
|
|
--audio-input-device default \
|
|
--audio-output-device pulse/alsa_output.platform-soc_sound.stereo-fallback \
|
|
--debug
|
|
|
|
Restart=always
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=default.target
|