Update linux-voice-assistant-2mic-install.md

Added requirement to enable linger for user mode services
This commit is contained in:
imonlinux
2025-09-27 08:19:24 -07:00
committed by GitHub
parent ed278ae3a2
commit aee8c56de3
+21 -3
View File
@@ -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 ### (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 ```bash
mkdir -p ~/.config/systemd/user 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 ### (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 ```bash
mkdir -p ~/.config/systemd/user 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 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 ```bash
systemctl --user daemon-reload systemctl --user daemon-reload