I have found the use of Fabric and Jinja templates a quick and easy way of
generating of generating supervisord.conf files that can also be customized
on the fly using local environment variables and/or command line arguments.

On Wed, May 30, 2012 at 5:05 AM, George Hickman <[email protected]>wrote:

> Thanks guys, building the list seems like a good way to go.
>
> Appreciate the help.
> George
>
>
> On Wed, May 30, 2012 at 12:52 PM, Ales Zoulek <[email protected]>wrote:
>
>> Exactly. If you're used to python, then jinja2 templates and json data
>> definition could be a quick and simple choice.
>>
>> A.
>> ------------------------------------------------------
>> Ales Zoulek
>> +420 604 332 515
>> Jabber: [email protected]
>> ------------------------------------------------------
>>
>>
>>
>> On Wed, May 30, 2012 at 12:29 PM, Jens Rantil <[email protected]>wrote:
>>
>>> Hi George,
>>>
>>> Not that I know of, but there's nothing that says you can't write your
>>> own script that generates your config file and overwrites the existing one.
>>> 'supervisorctl update' will only restart the processes that were changed.
>>>
>>> Cheers,
>>> Jens
>>>
>>> On Wed, May 30, 2012 at 11:45 AM, George Hickman 
>>> <[email protected]>wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have a program config file that's gotten to the stage where it's very
>>>> repetitive and slowly growing in size. Is it possible to point supervisor
>>>> at a python file that generates a config when it's read?
>>>>
>>>> Thanks
>>>> George
>>>>
>>>> _______________________________________________
>>>> Supervisor-users mailing list
>>>> [email protected]
>>>> http://lists.supervisord.org/mailman/listinfo/supervisor-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Want to know how full my inbox is? Or how to get in touch with me
>>> faster? Or tell me your e-mail is not that important? Then check this out:
>>> http://courteous.ly/4WtfZY
>>>
>>> _______________________________________________
>>> Supervisor-users mailing list
>>> [email protected]
>>> http://lists.supervisord.org/mailman/listinfo/supervisor-users
>>>
>>>
>>
>
> _______________________________________________
> Supervisor-users mailing list
> [email protected]
> http://lists.supervisord.org/mailman/listinfo/supervisor-users
>
>


-- 
Brent Hoover
Senior Core Developer
Grindr LLC & Blendr LLC
[email protected]
Grindr.com <http://grindr.com/> | Blendr.com <http://blendr.com/>
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to