美文网首页
Error: .ini file does not includ

Error: .ini file does not includ

作者: 守星的犬 | 来源:发表于2018-10-27 05:13 被阅读3次

Centos7下部署.net core web api,反向代理使用的nginx. 需要supervisor来守护dotnet进程。

执行下面命令
supervisord -c /etc/supervisor/conf.d/你的配置文件名.conf
报错:
Error: .ini file does not include supervisord section

这是因为配置文件中必须有[supervisord],[supervisorctl]有这两个基本模块,默认创建的配置文件中不包含。
没有细看这两个模块该如何配置,具体信息请查阅官网http://supervisord.org/configuration.html#supervisord-section-settings

解决上面那个报错,只要把[supervisord],[supervisorctl]加入到配置文件中即可,暂时可以不填写具体配置内容,如下图。


再次执行
supervisord -c /etc/supervisor/conf.d/你的配置文件名.conf

这次执行成功了,dotnet的进程已经开启,错误解决。

相关文章

网友评论

      本文标题:Error: .ini file does not includ

      本文链接:https://www.haomeiwen.com/subject/oeurtqtx.html