我正在使用在我的Docker容器(/usr/bin/supervisord -n)中运行的supervisord。
php5-fpm监督fpm配置如下所示:
[program:php5-fpm]
command=/usr/sbin/php5-fpm -c /etc/php5/fpm当我使用supervisord启动php5-fpm时,我得到了php5-fpm: ERROR (abnormal termination),它被列为php5-fpm FATAL Exited too quickly (process log may have details)。没有日志数据。
正如您所看到的,我在其他一些过程中也有这个问题:

但它正在运行。我不能为FATAL任务使用任何监督命令。有人知道怎么让它运行吗?
发布于 2015-10-06 20:38:07
由于由supervisord管理的进程不能以守护模式运行,所以您必须像command=/usr/sbin/php5-fpm --nodaemonize -c /etc/php5/fpm一样启动fpm。
https://stackoverflow.com/questions/32965149
复制相似问题