Turn off -e when running init-php.sh
This commit is contained in:
parent
194a6cfa99
commit
06c6152085
3
init
3
init
@ -136,7 +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" &
|
set +e
|
||||||
|
[ -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 "$@"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user