Clean-up for user-mode systemd service unit files and refactored code base from Release v1.0.0
23 lines
509 B
Desktop File
23 lines
509 B
Desktop File
[Unit]
|
|
Description=Linux Voice Assistant
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/home/pi/linux-voice-assistant
|
|
Environment=PYTHONUNBUFFERED=1
|
|
|
|
ExecStart=/home/pi/linux-voice-assistant/script/run \
|
|
--name 'Linux Voice Assistant' \
|
|
--wake-word-dir wakewords/openWakeWord \
|
|
--wake-word-dir wakewords \
|
|
--stop-model stop \
|
|
--audio-input-device seeed-2mic-voicecard \
|
|
--audio-output-device alsa/plughw:CARD=seeed2micvoicec \
|
|
--debug
|
|
|
|
Restart=always
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=default.target
|