Supervisord不会自动启动退出的流程

时间:2012-06-29 13:44:15

标签: php linux ubuntu supervisord

我有一个PHP脚本,我使用supervisord产生(成功):

2012-06-29 12:45:15,266 INFO spawned: 'tvm' with pid 4395
2012-06-29 12:45:16,455 INFO success: tvm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2012-06-29 12:45:18,218 INFO exited: tvm (exit status 0; expected)

但是,当脚本退出时,尽管在supervisord.conf中设置了autorestart = true,但它并没有重新生成

[program:tvm]
command=php /var/www/transcodedvideomonitor/index.php ;
autorestart=true ;

我错过了什么?

0 个答案:

没有答案