mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	add new switch --start to the PA binary which allows starting PA if it is not running yet. In contrast to normal startup an already running PA will not be considered an error. Also, take the autospawn lock so we can guarantee that after this call returns PA is ralive and running
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2513 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									c33db3ce68
								
							
						
					
					
						commit
						ac0f5275c5
					
				
					 5 changed files with 72 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -220,6 +220,7 @@ int pa_pid_file_create(const char *procname) {
 | 
			
		|||
 | 
			
		||||
            if (ours) {
 | 
			
		||||
                pa_log("Daemon already running.");
 | 
			
		||||
                ret = 1;
 | 
			
		||||
                goto fail;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue