1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 00:27:20 +01:00
MadelineProto/tests/dockerfiles/docker-php-entrypoint

10 lines
122 B
Plaintext
Raw Normal View History

2023-12-23 19:25:21 +01:00
#!/bin/sh
set -e
# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- php-fpm "$@"
fi
exec "$@"