13 lines
172 B
Bash
Executable File
13 lines
172 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# fail on first error
|
|
set -e
|
|
|
|
run-parts --exit-on-error $(dirname $0)/docker-entrypoint.sh.d/
|
|
|
|
if [ "${1#-}" != "$1" ]; then
|
|
set -- php-fpm "$@"
|
|
fi
|
|
|
|
exec "$@"
|