php/7.4-rc/stretch/fpm/docker-php-entrypoint
2019-06-13 16:21:11 -07:00

10 lines
122 B
Bash
Executable File

#!/bin/sh
set -e
# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- php-fpm "$@"
fi
exec "$@"