nsd-docker/entrypoint.sh

13 lines
200 B
Bash
Raw Permalink 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
2020-04-20 13:03:25 +00:00
if [ ! -f "/etc/nsd/nsd_control.pem" ]; then
nsd-control-setup
fi
2020-04-20 08:43:23 +00:00
exec nsd -d