bitnami-containers/bitnami/postgresql/9.6/rootfs/app-entrypoint.sh

14 lines
256 B
Bash
Executable File

#!/bin/bash -e
. /opt/bitnami/base/functions
. /opt/bitnami/base/helpers
print_welcome_page
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
nami_initialize postgresql
info "Starting postgresql... "
fi
exec tini -- "$@"