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. 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. -- Łukasz Wróblewski http://www.nri.pl/ - Nowoczesne Rozwiązania Internetowe http://www.hostowisko.pl/ - Profesjonalny i tani hosting http://www.katalog-polskich-firm.pl/ - Najlepszy darmowy katalog firm _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
