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

2014 年 7 月 8 日
 geew
supervisor服务运行中, 此时要添加新的配置来管理新的进程, 假如配置文件new.conf, 要想启动new.conf中定义的程序怎么弄? 难道每次加新的配置都要重启supervisor服务吗??


supervisorctl start new:* 这样不行, 有错误...
12833 次点击
所在节点    Python
5 条回复
Rosicky
2014 年 7 月 8 日
supervisorctl start program,启动某个进程
likang
2014 年 7 月 8 日
先用 update 命令让 supervisor 重新读取配置,然后再启动
yuelang85
2014 年 7 月 8 日
reread

update
guoqiao
2014 年 7 月 8 日
sudo supervisorctl update
geew
2014 年 7 月 9 日
谢谢大家了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://v2ex.xtra.eu.org/t/121548

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX