Skip to content

Commit 34ae313

Browse files
ltangvaldyosifkit
authored andcommitted
Rename docker_init_env to docker_setup_env
1 parent ae7b623 commit 34ae313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.template.Debian/docker-entrypoint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ docker_init_database_dir() {
148148
}
149149

150150
# Loads various settings that are used elsewhere in the script
151-
docker_init_env() {
151+
docker_setup_env() {
152152
# Get config
153153
DATADIR="$(mysql_get_config 'datadir' "$@")"
154154
SOCKET="$(mysql_get_config 'socket' "$@")"
@@ -256,7 +256,7 @@ docker_main() {
256256

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

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

0 commit comments

Comments
 (0)