Add user mode service files for pipewire support

This commit is contained in:
imonlinux
2025-09-26 20:14:58 -07:00
committed by GitHub
parent 99ecb1f186
commit 4f8f4e2ebc
3 changed files with 72 additions and 0 deletions
@@ -0,0 +1,26 @@
[Unit]
Description=Linux Voice Assistant (PipeWire + OWW)
After=pipewire.service pipewire-pulse.service wyoming-openwakeword.service
Wants=pipewire-pulse.service wyoming-openwakeword.service
Requires=wyoming-openwakeword.service
After=wyoming-openwakeword.service
[Service]
Type=simple
WorkingDirectory=/home/pi/linux-voice-assistant
Environment=PYTHONUNBUFFERED=1
ExecStart=/home/pi/linux-voice-assistant/script/run \
--name 'Linux Satellite Test PW' \
--audio-input-device default \
--audio-output-device pulse/alsa_output.platform-soc_sound.stereo-fallback \
--wake-uri 'tcp://127.0.0.1:10400' \
--wake-word-name 'alexa' \
--wake-models-dir '/home/pi/wyoming-openwakeword/wyoming_openwakeword/models' \
--debug
Restart=always
RestartSec=2
[Install]
WantedBy=default.target