nsd-docker/entrypoint.sh

10 lines
130 B
Bash
Raw Normal View History

2020-04-20 08:43:23 +00:00
#!/usr/bin/env bash
set -e
if [ ! -f "/etc/nsd/nsd.conf" ]; then
cp /tmp/nsd.conf.example /etc/nsd/nsd.conf
fi
exec nsd -d