supervisord – 将程序添加到已经存在的组中

我没有定义组中的所有程序,而是拥有不同的主pipeconf文件,每个程序都有一个。 在每个文件中,我想将该程序添加到一个组中,例如,在一个文件中:

[program:example1] command = ... autostart=false [group:program_group] programs=example1 

如果其他文件:

 [program:example2] command = ... autostart=false [group:program_group] programs=example2 

这不行,因为我想。 命令

 sudo supervisord restart program_group:* 

只能重新启动其中一个程序。

每次创build新程序时,是否有任何方法可以将程序添加到组中?

谢谢!