Progress
This commit is contained in:
1 parent
6ebb259757
commit
085ab7e9b8
6 files changed
+96
-8
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Optional background services, only started together with php-fpm so that
|
||||
# one-off commands (php artisan ..., composer ...) are passed through untouched.
|
||||
case "$1" in
|
||||
php-fpm*)
|
||||
if [ "${ENABLE_CRON:-0}" = "1" ]; then
|
||||
crond -b -L /var/log/cron/cron.log
|
||||
fi
|
||||
if [ "${ENABLE_SUPERVISOR:-0}" = "1" ]; then
|
||||
supervisord -c /etc/supervisor/supervisord.conf
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
exec docker-php-entrypoint "$@"
|
||||
Reference in new issue
Block a user