1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 15:47:20 +01:00
MadelineProto/tests/dockerfiles/docker-php-entrypoint
2023-12-23 19:25:21 +01: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 "$@"