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:
Ventz Petkov 2018-01-24 12:03:52 -05:00 committed by GitHub
commit 0518404de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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