> Hi, Roberto and all!
>
> Could you please tell me, can i somehow use 'inherit' option to keep
> common
> part of application's configuration if i'm using variable '%n' in it?
> I've tried to move common part into file 'common.xml', and then i've added
> '<inherit>/path/to/common.xml</inherit>' instead of moved common settings
> into application config. I've used options like
> '<socket>/tmp/uwsgi-%n.sock</socket>' and other similiar, because i'm
> using
> symlinks to get easier configuration of vassals (i'm running uwsgi in
> emperor mode).
>
> So, when i've done this i've got errors which tell me that '%n' is
> interpreted as 'common' instead of actual config filename.
>
> Hope, this is possible.
>
> Thank you very much for help and for uWSGI.
>


The inherit option upto 1.0 is a mess.

In 1.1 i have completely rewrote it.
The first changed thing, is that inherit is not parsed (for placeholder or
magic vars) until all of the config files are loaded.

in 1.0

common.xml + foo.xml + bar.xml -> %n = common

in 1.1

common.xml + foo.xml + bar.xml -> %n = bar

Try with 1.1 (if you can), it should work as you expect


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

Reply via email to