Il giorno 12/giu/2011, alle ore 19.24, Leonid Borisenko ha scritto:

> On 12.06.2011 07:51, Roberto De Ioris wrote:
>> 
>>>  Hi,
>>> 
>>>  It seems (looking at uWSGI behavior and sources), that options in
>>> given configuration file are overrided by options from inherited config.
>>> If I pass options '--inherit default_config.ini --ini user_config.ini'
>>> with following configs:
>>> 
>>>    # default_config.ini
>>>    [uwsgi]
>>>    uid = www-data
>>> 
>>>    # user_config.ini
>>>    [uwsgi]
>>>    uid = specific_uwsgi_user
>>> 
>>> then uWSGI will start with uid = www-data. Is this behavior useful?
>>> 
>>>  I want to use --inherit in spawning new uWSGI instances with
>>> predefined options (from default_config.ini) and possibility of
>>> overriding of default options via user configuration files. Should I
>>> file a ticket for changing of '--inherit' behavior? Or, maybe, a ticket
>>> for introducing '--pre-inherit' option?
>>> _______________________________________________
>> 
>> 
>> The current behaviour is totally wrong.
>> 
>> I have fixed it to process options in reverse order.
>> 
>> Thanks
> 
>  It works as expected now, thanks.
> 
> 

Sorry there was a bug with plugins loading.

Can you recheck if it still works (just committed a couple of minutes ago)

Thanks

--
Roberto De Ioris
http://unbit.it

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to