V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
tohearts
V2EX  ›  Python

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

  •  
  •   tohearts · 2018-06-10 15:09:45 +08:00 · 6099 次点击
    这是一个创建于 2119 天前的主题,其中的信息可能已经有所发展或是发生改变。

    [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

    knktc
        1
    knktc  
       2018-06-10 16:57:20 +08:00
    这个一般是说明 supervisor 没启动,你再检查下 supervisor 现在的状态?
    suixn
        2
    suixn  
       2018-06-10 22:28:54 +08:00 via Android
    服务端没启动
    tohearts
        3
    tohearts  
    OP
       2018-06-11 08:59:03 +08:00
    谢谢大佬们,我试试
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5372 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 08:03 · PVG 16:03 · LAX 01:03 · JFK 04:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.