nsd-docker/entrypoint.sh

10 lines
130 B
Bash

#!/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