Il giorno 19/lug/2011, alle ore 08.53, Łukasz Wróblewski ha scritto:

> Let me start with few significant trifle, but you might want to fix.
> When the Emperor starts in the log prints out:
> $ uwsgi --emperor ./conf
> *** Starting uWSGI 0.9.8.2 (32bit) on [Tue Jul 19 08:37:58 2011] ***
> compiled with version: 4.5.2 on 19 July 2011 08:24:40
> *** WARNING: you are running uWSGI without its master process manager ***
> your memory page size is 4096 bytes
> *** starting uWSGI Emperor ***
> *** has_emperor mode detected (fd: 6) ***
> 
> 
> 
> " *** WARNING: you are running uWSGI without its master process manager ***"
> It is probably unnecessary under the Emperor mode.


the master can be used to create a jain in which the master can run , but yes 
the warning should be removed.

> 
> Perhaps it is already possible, but documentation is not kept pace with 
> development uWSGI :]
> 
> /usr/sbin/uwsgi-py32 --emperor /home/me/projects/conf
> \_ /usr/sbin/uwsgi-py32 --ini project-name.ini
> 
> As the level of a vassal to draw parameter "- emperor," and in which CWD has 
> been launched Emperor?
> How to from vassal draw parameter "--emperor", and in which CWD has been 
> launched Emperor?
> 
> eg.
> os.path.join(
>  uwsgi.opt['emperor_cwd'],
>  uwsgi.opt['emperor'],
>  uwsgi.opt['ini']
> )
> out: /home/me/projects/conf/project-name.ini
> 
> So to get the absolute path to the configuration file used in the Vassal.


What about

[uwsgi]
my_conf_file = %p


and

uwsgi.opt['my_conf_file']

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

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

Reply via email to