mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 01:20:27 +00:00
13 lines
217 B
Bash
Executable File
13 lines
217 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$WAITFOR_DB" -a ! -f "$APP_PATH/config.py" ]; then
|
|
cp "$APP_PATH/config_template_docker.py" "$APP_PATH/config.py"
|
|
fi
|
|
|
|
cd $APP_PATH && python create_db.py
|
|
|
|
# Start PowerDNS Admin
|
|
exec "$@"
|