Skip to content

Commit

Permalink
Rename docker_init_env to docker_setup_env
Browse files Browse the repository at this point in the history
  • Loading branch information
ltangvald authored and yosifkit committed Sep 18, 2019
1 parent ae7b623 commit 34ae313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .template.Debian/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ docker_init_database_dir() {
}

# Loads various settings that are used elsewhere in the script
docker_init_env() {
docker_setup_env() {
# Get config
DATADIR="$(mysql_get_config 'datadir' "$@")"
SOCKET="$(mysql_get_config 'socket' "$@")"
Expand Down Expand Up @@ -256,7 +256,7 @@ docker_main() {

if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
# Load various environment variables
docker_init_env "$@"
docker_setup_env "$@"

# If container is started as root user, restart as dedicated mysql user
if [ "$(id -u)" = '0' ]; then
Expand Down

0 comments on commit 34ae313

Please sign in to comment.