mozilla-services/circus — Issue #20: add the possibility to register new shows
Author: benoitc
Created: 2012-03-02 19:03:51+00:00
State: open

it shoud be possible to register a new show and its configuration dynamically.

To add a command I propose the following syntax :

add_show name cmd

where `name` is the name of the command, cmd the full command (with
args), optionnal start can be either true or false (by default false)
and is defining if circus should start the command or not.

Other commands:

show_set optionname value
show_del optionname
show_mset option1 value1 option2 option
show_mdel options1 option2

Where optionname can be num_flies, warmup_delay, working_dir, shell,
uid, gid, send_hup. `show_set` add one option while `show_del` delete
one option. `show_mset` and `show_mdel` are used to set or delete
multiple options.

Thoughts?