mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	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:
		
							parent
							
								
									6216de6ca0
								
							
						
					
					
						commit
						d2e1b968af
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue