Update and rename user-linux-voice-assistant.service to linux-voice-assistant.service
Changes the user mode service file to the single command needed to start LVA. All other configuration arguments are in the linux_voice_assistant/config.json file.
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
[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
|
||||||
|
|
||||||
|
Restart=always
|
||||||
|
RestartSec=2
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
[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
|
|
||||||
Reference in New Issue
Block a user