I'm using supervisord running in my Docker container (/usr/bin/supervisord -n
).
php5-fpm supervisord config looks like:
[program:php5-fpm]
command=/usr/sbin/php5-fpm -c /etc/php5/fpm
When I start the php5-fpm with supervisord I get php5-fpm: ERROR (abnormal termination)
and it is listed as php5-fpm FATAL Exited too quickly (process log may have details)
. There is no log data.
As you can see I have that problem with some other processes as well:
But it is running. I cannot use any supervisord commands for the FATAL
tasks. Anyone an idea how to get it running?
答案 0 :(得分:2)
由于supervisord管理的进程不能在daemonize模式下运行,你必须像command=/usr/sbin/php5-fpm --nodaemonize -c /etc/php5/fpm