ddns/docker/powerdns/entrypoint.sh
2017-11-28 22:26:59 +01:00

7 lines
No EOL
151 B
Bash

#!/usr/bin/env bash
CONFIG_FILE=/etc/powerdns/pdns.conf
sed -i 's/{{PDNS_REMOTE_HTTP_HOST}}/'"${PDNS_REMOTE_HTTP_HOST}"'/g' ${CONFIG_FILE}
exec "$@"