@mattupstate and others, any thoughts?
-- Michael
On Sep 20, 2012, at 9:47 PM, keith <
keith...@gmail.com> wrote:
> Hello,
>
> Ansible is just great. Configuration as data rather than code makes so much sense. Thanks so much for it.
>
> I want to be able to update the conf of a program that has been already been started with the supervisorctl module, and then restart the program so that it runs with the new configuration.
>
> I don't want to restart supervisord since it will take down any other processes it is controlling.
>
> I am doing this now by rewriting the conf and then shelling to "supervisorctl reread" and then restarting the program, but I'd much rather do something like "state=current_conf" in the supervisorctl module and then restart, though it be would rather hard to give feedback on whether there was a change in the conf within the running supervisord - perhaps just rely on the change status when updating the conf file for triggering handlers.
>
> Does this make sense as a feature or am I missing how it can be done cleanly (without shelling) already? I can add and merge back if it does make sense.
>
> Keith
>
>