diff --git a/init b/init index 05742c4..5507453 100755 --- a/init +++ b/init @@ -136,6 +136,8 @@ if [ "${role}" = "app" -a -e artisan ]; then " fi + [ -e init-php.sh -a -x init-php.sh ] && su www-data -s /bin/sh "init-php.sh" & + exec /usr/local/bin/docker-php-entrypoint "$@" elif [ "$role" = "queue" -a -e artisan ]; then