使用 supervisor 报错 unix:///var/run/supervisor/supervisor.sock refused connection

2018-06-10 15:09:45 +08:00
 tohearts

[program:authority] command=gunicorn -c conf.py app:app directory=/www/api/RegisterServer user=root autostart=true stoprestart=true stopasgroup=true killasgroup=true

[supervisord]

配置文件如上: 但是运行 supervisor stop authority 老是报出 refused connection 环境: docker 下 centos7.2

6124 次点击
所在节点    Python
3 条回复
knktc
2018-06-10 16:57:20 +08:00
这个一般是说明 supervisor 没启动,你再检查下 supervisor 现在的状态?
suixn
2018-06-10 22:28:54 +08:00
服务端没启动
tohearts
2018-06-11 08:59:03 +08:00
谢谢大佬们,我试试

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/461917

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX