V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
geew
V2EX  ›  Python

Supervisor 如何加载新的配置启动新的进程呢??

  •  
  •   geew · Jul 8, 2014 · 12747 views
    This topic created in 4321 days ago, the information mentioned may be changed or developed.
    supervisor服务运行中, 此时要添加新的配置来管理新的进程, 假如配置文件new.conf, 要想启动new.conf中定义的程序怎么弄? 难道每次加新的配置都要重启supervisor服务吗??


    supervisorctl start new:* 这样不行, 有错误...
    5 replies    2014-07-09 10:05:45 +08:00
    Rosicky
        1
    Rosicky  
       Jul 8, 2014
    supervisorctl start program,启动某个进程
    likang
        2
    likang  
       Jul 8, 2014
    先用 update 命令让 supervisor 重新读取配置,然后再启动
    yuelang85
        3
    yuelang85  
       Jul 8, 2014
    reread

    update
    guoqiao
        4
    guoqiao  
       Jul 8, 2014 via iPhone
    sudo supervisorctl update
    geew
        5
    geew  
    OP
       Jul 9, 2014
    谢谢大家了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3424 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 12:11 · PVG 20:11 · LAX 05:11 · JFK 08:11
    ♥ Do have faith in what you're doing.