Let pipewire-pulse services conflict with their pulseaudio counterparts

You can only run either pulseaudio *or* the pipewire-pulse daemon at one
time. So make the pipewire-pulse units conflict with their pulseaudio
counterparts to avoid both running at the same time
This commit is contained in:
Sjoerd Simons 2021-05-22 14:17:19 +02:00
parent 6216de6ca0
commit d2e1b968af
2 changed files with 2 additions and 0 deletions

View file

@ -17,6 +17,7 @@ Requires=pipewire-pulse.socket
ConditionUser=!root ConditionUser=!root
Wants=pipewire.service Wants=pipewire.service
After=pipewire.service After=pipewire.service
Conflicts=pulseaudio.service
[Service] [Service]
LockPersonality=yes LockPersonality=yes

View file

@ -1,6 +1,7 @@
[Unit] [Unit]
Description=PipeWire PulseAudio Description=PipeWire PulseAudio
ConditionUser=!root ConditionUser=!root
Conflicts=pulseaudio.socket
[Socket] [Socket]
Priority=6 Priority=6