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
geew
V2EX  ›  Python

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

  •  
  •   geew · 2014-07-08 14:21:54 +08:00 · 11984 次点击
    这是一个创建于 3581 天前的主题,其中的信息可能已经有所发展或是发生改变。
    supervisor服务运行中, 此时要添加新的配置来管理新的进程, 假如配置文件new.conf, 要想启动new.conf中定义的程序怎么弄? 难道每次加新的配置都要重启supervisor服务吗??


    supervisorctl start new:* 这样不行, 有错误...
    5 条回复    2014-07-09 10:05:45 +08:00
    Rosicky
        1
    Rosicky  
       2014-07-08 14:44:32 +08:00
    supervisorctl start program,启动某个进程
    likang
        2
    likang  
       2014-07-08 15:19:15 +08:00
    先用 update 命令让 supervisor 重新读取配置,然后再启动
    yuelang85
        3
    yuelang85  
       2014-07-08 16:51:24 +08:00
    reread

    update
    guoqiao
        4
    guoqiao  
       2014-07-08 17:45:10 +08:00 via iPhone
    sudo supervisorctl update
    geew
        5
    geew  
    OP
       2014-07-09 10:05:45 +08:00
    谢谢大家了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   913 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:00 · PVG 04:00 · LAX 13:00 · JFK 16:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.