aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranjal Kole <pranjal.kole7@gmail.com>2022-02-25 17:12:29 +0530
committerdispatch <dispatch@listserv.local>2022-02-25 11:43:26 +0000
commit0d350ec3bb26fc04d201f301c0da3948dac6fa1e (patch)
treeb83d72e0ca558297330e368c60c544851a294adc
parentd9941d6d2a93232eaf214b209abb90b2b5a37372 (diff)
downloadaports-patches/3959.tar.gz
aports-patches/3959.tar.bz2
aports-patches/3959.tar.xz
community/pipewire: kill previous instance before launchpatches/3959
/usr/bin/pipewire was not being killed previously. Additionally, the order in which the processes are killed has been changed to avoid this error message from pipewire-media-session: [W][77952.698669] ms.core | [ media-session.c: 2211 core_error()] error id:0 seq:799 res:-32 (Broken pipe): connection error
-rw-r--r--community/pipewire/pipewire-launcher.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/community/pipewire/pipewire-launcher.sh b/community/pipewire/pipewire-launcher.sh
index 95dcd5efc2..2ef1da3815 100644
--- a/community/pipewire/pipewire-launcher.sh
+++ b/community/pipewire/pipewire-launcher.sh
@@ -1,10 +1,10 @@
#!/bin/sh
# We need to kill any existing pipewire instance to restore sound
-pkill -u "${USER}" -x pipewire 1>/dev/null 2>&1
pkill -u "${USER}" -fx "pipewire -c pipewire-pulse.conf" 1>/dev/null 2>&1
pkill -u "${USER}" -fx /usr/bin/pipewire-media-session 1>/dev/null 2>&1
pkill -u "${USER}" -fx /usr/bin/wireplumber 1>/dev/null 2>&1
+pkill -u "${USER}" -fx /usr/bin/pipewire 1>/dev/null 2>&1
exec /usr/bin/pipewire &