Add init-php.sh execution if it exists
This commit is contained in:
parent
471e5df45c
commit
194a6cfa99
2
init
2
init
@ -136,6 +136,8 @@ if [ "${role}" = "app" -a -e artisan ]; then
|
|||||||
"
|
"
|
||||||
fi
|
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 "$@"
|
exec /usr/local/bin/docker-php-entrypoint "$@"
|
||||||
|
|
||||||
elif [ "$role" = "queue" -a -e artisan ]; then
|
elif [ "$role" = "queue" -a -e artisan ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user