forked from gitea/gitea
		
	 1d04e8641d
			
		
	
	
		1d04e8641d
		
			
		
	
	
	
	
		
			
			When Gitea is running as PID 1 git will occassionally orphan child processes leading to (defunct) processes. This PR simply sets Setpgid to true on these child processes meaning that these defunct processes will also be correctly reaped. Fix #19077 Signed-off-by: Andrew Thornton <art27@cantab.net>