pkg: add Unbound
This commit is contained in:
parent
43d1f56e71
commit
79f135a040
3 changed files with 29 additions and 0 deletions
13
pkg/unbound/docker-entrypoint.sh
Executable file
13
pkg/unbound/docker-entrypoint.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ `which unbound-$1 2>/dev/null` ]; then
|
||||
set -- unbound-"$@"
|
||||
elif [ ! `which $1 2>/dev/null` ]; then
|
||||
set -- unbound -dv "$@"
|
||||
fi
|
||||
|
||||
unbound-anchor
|
||||
|
||||
exec "$@"
|
Reference in a new issue