> Hi All,
>
> If this is indeed the expected behaviour of uwsgi emperor mode, then, is
> there a way I can strip off some characters from the %n directive within
> the uwsgi config file, for example, if in /path/to/prod I have
> myapp.ini, and in /path/to/dev I have the development version of
> myapp.ini as dev_myapp.ini, this would get around the issue of uwsgi
> emperor seeing the two configurations as the same instance, but, in
> dev_myapp.ini, I would like to use "myapp" as the application name, is
> it at all possible to strip the "dev_" from dev_myapp that is available
> as the %n directive, from within the uwsgi config file?
>
> Your comments/tips/suggestions are appreciated.
>
> Thanks again.


Hi, what about spawning two emperors ?

uwsgi --emperor path1
uwsgi --emperor path2

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

Reply via email to