From b209c1300e72fb8d30f36fccfa3dc2309e69c105 Mon Sep 17 00:00:00 2001 From: imonlinux <39863321+imonlinux@users.noreply.github.com> Date: Mon, 17 Nov 2025 18:03:09 -0800 Subject: [PATCH] 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. --- service/linux-voice-assistant.service | 15 +++++++++++++++ service/user-linux-voice-assistant.service | 22 ---------------------- 2 files changed, 15 insertions(+), 22 deletions(-) create mode 100644 service/linux-voice-assistant.service delete mode 100644 service/user-linux-voice-assistant.service diff --git a/service/linux-voice-assistant.service b/service/linux-voice-assistant.service new file mode 100644 index 0000000..5c95bb9 --- /dev/null +++ b/service/linux-voice-assistant.service @@ -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 diff --git a/service/user-linux-voice-assistant.service b/service/user-linux-voice-assistant.service deleted file mode 100644 index 9c356b2..0000000 --- a/service/user-linux-voice-assistant.service +++ /dev/null @@ -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