Merge pull request #8 from tcely/patch-1
Use exec in entrypoint.sh - It seems there are many benefits to this and no downsides. Thanks to @tcely for proposing it, and for @obaarne for confirming it/finding the best practices around it!
This commit is contained in:
		
						commit
						0518404de9
					
				@ -1,4 +1,4 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
chown -R named:named /var/cache/bind
 | 
			
		||||
# Run in foreground and log to STDERR (console):
 | 
			
		||||
/usr/sbin/named -c /etc/bind/named.conf -g -u named
 | 
			
		||||
exec /usr/sbin/named -c /etc/bind/named.conf -g -u named
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user