You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo -e "${COLOR_GREEN}${COLOR_BOLD}NPP-NGINX:${COLOR_RESET}${COLOR_CYAN}${COLOR_BOLD}[Pre-Entrypoint]:${COLOR_RESET} Preparing environment before starting the ${COLOR_LIGHT_CYAN}Nginx${COLOR_RESET} service..."
60
81
61
82
# Wait for 'php-fpm' to be up
62
83
wait_for_service "wordpress" 9001
63
84
64
-
# Wait for Wordpress core Initialization to complete
65
-
wait_for_service "wordpress" 9999
66
-
67
85
# Check if required environment variables are set
68
86
forvarin \
69
87
NPP_UID \
@@ -80,6 +98,9 @@ for var in \
80
98
fi
81
99
done
82
100
101
+
# Wait for Wordpress core Initialization (post-start setup) to complete
102
+
wait_for_file "${NPP_WEB_ROOT}/.npp-ready"
103
+
83
104
# Create Isolated PHP process owner user and group on Nginx container
84
105
echo -e "${COLOR_GREEN}${COLOR_BOLD}NPP-NGINX:${COLOR_RESET} Checking PHP process owner user and group with UID ${COLOR_CYAN}${NPP_UID}${COLOR_RESET} and GID ${COLOR_CYAN}${NPP_GID}${COLOR_RESET}"
0 commit comments