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 年 7 月 8 日 · 12573 次点击
    这是一个创建于 4206 天前的主题,其中的信息可能已经有所发展或是发生改变。
    supervisor服务运行中, 此时要添加新的配置来管理新的进程, 假如配置文件new.conf, 要想启动new.conf中定义的程序怎么弄? 难道每次加新的配置都要重启supervisor服务吗??


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

    update
    guoqiao
        4
    guoqiao  
       2014 年 7 月 8 日 via iPhone
    sudo supervisorctl update
    geew
        5
    geew  
    OP
       2014 年 7 月 9 日
    谢谢大家了
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1296 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:17 · PVG 01:17 · LAX 09:17 · JFK 12:17
    ♥ Do have faith in what you're doing.