gentoo-pipewire-launcher has this snippet: restart () { echo "Terminating PipeWire processes ..." pkill -u "${USER}" -x pipewire\|wireplumber 1>/dev/null 2>&1 # pidwait was renamed to pwait w/ procps-4 (bug #914030) if command -v pidwait > /dev/null ; then pidwait -u "${USER}" -x pipewire\|wireplumber elif command -v pwait > /dev/null ; then pwait -u "${USER}" -x pipewire\|wireplumber fi echo "PipeWire terminated." } Above does not terminate pipewire-pulse and does not wait for each daemon to die in sequence. I think something like this will do better(modulo pidwait): pkill -u "${USER}" -x wireplumber pwait -u "${USER}" -x wireplumber pkill -u "${USER}" -x pipewire-pulse pwait -u "${USER}" -x pipewire-pulse pkill -u "${USER}" -x pipewire pwait -u "${USER}" -x pipewire
or if you think order is not important, change: -x pipewire\|wireplumber to -x wireplumber\|pipewire-pulse\|pipewire
still unassigned
I got confused by pipewire on systemd uses pipewire-pulse while openrc uses /usr/bin/pipewire -c pipewire-pulse.conf Current rule then does match I think