caddy-php-for-docker/caddy-with-php/entry.sh

13 lines
226 B
Bash
Raw Normal View History

2024-01-12 17:07:36 +08:00
#!/bin/sh
if [ "${1}" = "-D" ]; then
exec /usr/bin/supervisord -n -c /etc/supervisord.conf
else
exec "$@"
2024-01-15 14:17:20 +08:00
fi
# first arg is `-f` or `--some-option`
#if [ "${1#-}" != "$1" ]; then
# set -- php-fpm "$@"
#fi
#
#exec "$@"