php/7.4/buster/apache/docker-php-entrypoint

10 lines
133 B
Plaintext
Raw Normal View History

2019-06-14 01:19:24 +02:00
#!/bin/sh
set -e
# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- apache2-foreground "$@"
fi
exec "$@"