1

我有一个 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 ;

我错过了什么?

4

0 回答 0