From aee8c56de3dc4159ec179d27c99b8d826b2f943a Mon Sep 17 00:00:00 2001 From: imonlinux <39863321+imonlinux@users.noreply.github.com> Date: Sat, 27 Sep 2025 08:19:24 -0700 Subject: [PATCH] Update linux-voice-assistant-2mic-install.md Added requirement to enable linger for user mode services --- docs/linux-voice-assistant-2mic-install.md | 24 +++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/docs/linux-voice-assistant-2mic-install.md b/docs/linux-voice-assistant-2mic-install.md index 36f3c39..2ea583e 100644 --- a/docs/linux-voice-assistant-2mic-install.md +++ b/docs/linux-voice-assistant-2mic-install.md @@ -99,7 +99,16 @@ sudo systemctl restart avahi-daemon.service ``` ### (Optional) for PipeWire with OWW copy these service files to /home/pi/.config/systemd/user -### Note: This installes OWW and LVA as User Mode Systemd services +### Note: This installs OWW and LVA as User Mode Systemd services. This requires linger to be enabled on the user (pi). +### Note: Without linger the User Mode Systemd service(s) will not start automatically after a reboot. + +Enable linger for the user: + +```bash +sudo loginctl enable-linger pi +``` + +Install User Mode Service files: ```bash mkdir -p ~/.config/systemd/user @@ -127,7 +136,16 @@ sytemctl --user status linux-voice-assistat.service ### (Optional) for PipeWire with MWW copy this service file to /home/pi/.config/systemd/user -### Note: This installes LVA as User Mode Systemd service +### Note: This installs LVA as User Mode Systemd service. This requires linger to be enabled on the user (pi). +### Note: Without linger the User Mode Systemd service(s) will not start automatically after a reboot. + +Enable linger for the user: + +```bash +sudo loginctl enable-linger pi +``` + +Install User Mode Service file: ```bash mkdir -p ~/.config/systemd/user @@ -135,7 +153,7 @@ mkdir -p ~/.config/systemd/user cp ~/linux-voice-assistant/service/user-pw-mww-linux-voice-assistant.service.service ~/.config/systemd/user/linux-voice-assistant.service ``` -Enable and start the user mode services: +Enable and start the user mode service: ```bash systemctl --user daemon-reload