We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae7b623 commit 34ae313Copy full SHA for 34ae313
.template.Debian/docker-entrypoint.sh
@@ -148,7 +148,7 @@ docker_init_database_dir() {
148
}
149
150
# Loads various settings that are used elsewhere in the script
151
-docker_init_env() {
+docker_setup_env() {
152
# Get config
153
DATADIR="$(mysql_get_config 'datadir' "$@")"
154
SOCKET="$(mysql_get_config 'socket' "$@")"
@@ -256,7 +256,7 @@ docker_main() {
256
257
if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
258
# Load various environment variables
259
- docker_init_env "$@"
+ docker_setup_env "$@"
260
261
# If container is started as root user, restart as dedicated mysql user
262
if [ "$(id -u)" = '0' ]; then
0 commit comments