diff --git a/pdns-mysql/docker-entrypoint.sh b/pdns-mysql/docker-entrypoint.sh index c231969..41014bb 100755 --- a/pdns-mysql/docker-entrypoint.sh +++ b/pdns-mysql/docker-entrypoint.sh @@ -136,6 +136,7 @@ done createDatabaseIfRequested initDatabase migrateDatabaseTo47 +initSuperslave if [ ${USE_EXISTING_CONFIG_FILE:-false} = 'false' ]; then echo "(re-)generating config file from environment variables" diff --git a/pdns-pgsql/docker-entrypoint.sh b/pdns-pgsql/docker-entrypoint.sh index 9d160f8..1af437f 100755 --- a/pdns-pgsql/docker-entrypoint.sh +++ b/pdns-pgsql/docker-entrypoint.sh @@ -108,6 +108,7 @@ done createDatabaseIfRequested initDatabase +initSuperslave unset PGPASSWORD