bitnami-mariadb-entrypoint-container.sh
542 Bytes
#!/bin/bash
# shellcheck disable=SC1091
set -o errexit
set -o nounset
set -o pipefail
# set -o xtrace # Uncomment this line for debugging purposes
# Load libraries
. /opt/bitnami/scripts/libbitnami.sh
. /opt/bitnami/scripts/libmariadb.sh
# Load MySQL environment variables
. /opt/bitnami/scripts/mariadb-env.sh
print_welcome_page
set -x
id
cat /etc/passwd
ls -la /bitnami/mariadb /bitnami/mariadb/data/ /opt/bitnami/mariadb/
chown -R $DB_DAEMON_USER:$DB_DAEMON_GROUP /opt/bitnami/mariadb/tmp /opt/bitnami/mariadb/logs
exec bash -x "$@"