mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-10-31 10:31:50 +00:00 
			
		
		
		
	 7266ad4588
			
		
	
	
		7266ad4588
		
			
		
	
	
	
	
		
			
			tini is a hyper-minimal PID 0 which spawns a child process (watchfrr.sh in our case), reaps zombies and forwards signals to the script. Starting watchfrr.sh directly instead of through the old `tail /dev/null` or `sleep 365d` helps keep things clean too :) While tini was previously only used in the Alpine container it is useful to apply this PID 0 to all containers except the special CI ones. Fixes: #8788 Signed-off-by: Wesley Coakley <w@wesleycoakley.com>
		
			
				
	
	
		
			5 lines
		
	
	
		
			83 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			83 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| source /usr/lib/frr/frrcommon.sh
 | |
| /usr/lib/frr/watchfrr $(daemon_list)
 |