how to define start order in group of processes using supervisord?

佐手、 提交于 2019-12-07 07:13:03

问题


Does the program priority determine the start order? i.e. baz then bar ?

If I have:

[group:foo]
programs=bar,baz

And:

[program:bar]
command=/path/to/bar
priority=200

As well as:

[program:baz]
command=/path/to/baz
priority=150

回答1:


Yes. Lower priorities indicate programs that start first and shut down last at startup and when aggregate commands are used in various clients (e.g. “start all”/”stop all”). Higher priorities indicate programs that start last and shut down first.



来源:https://stackoverflow.com/questions/23244954/how-to-define-start-order-in-group-of-processes-using-supervisord

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!