It should be noted that init.sh runs before the web server and fpm, thus any long-running script will delay availability.