Use bash instead of sh

This commit is contained in:
Deon George 2021-07-19 00:48:50 +10:00
parent 06c6152085
commit b1a333ea4d

2
init
View File

@ -137,7 +137,7 @@ if [ "${role}" = "app" -a -e artisan ]; then
fi
set +e
[ -x init-php.sh ] && su www-data -s /bin/sh "init-php.sh" &
[ -x init-php.sh ] && su www-data -s /bin/bash "init-php.sh" &
exec /usr/local/bin/docker-php-entrypoint "$@"