Skip to content

Use pgrep instead of pidof to retrieve PID of the main pipewire service

Dylan Aïssi requested to merge wip/daissi/440 into apertis/v2024pre

With latest versions of pipewire, a new service "pipewire -c filter-chain.conf" is running. Because of this new service, pidof returns two PIDs which confuses the following ps call. As we only want the PID of the main pipewire service, we use pgrep with the regexp anchor "$".

Fix: infrastructure/apertis-issues#440 (closed)

Merge request reports