推荐学习书目
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 · Jun 10, 2018 · 6854 views
    This topic created in 2919 days ago, the information mentioned may be changed or developed.

    [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  
       Jun 10, 2018
    这个一般是说明 supervisor 没启动,你再检查下 supervisor 现在的状态?
    suixn
        2
    suixn  
       Jun 10, 2018 via Android
    服务端没启动
    tohearts
        3
    tohearts  
    OP
       Jun 11, 2018
    谢谢大佬们,我试试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3018 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 13:20 · PVG 21:20 · LAX 06:20 · JFK 09:20
    ♥ Do have faith in what you're doing.