forked from pool/uwsgi
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
|
====================
|
||
|
openSUSE uWSGI Notes
|
||
|
====================
|
||
|
|
||
|
Emperor Mode
|
||
|
------------
|
||
|
|
||
|
The included init script runs uWSGI in Emperor mode. It will monitor the
|
||
|
/etc/uwsgi/vassals directory for configurations and will automatically load
|
||
|
and restart uWSGI processes when configuration files are placed there or
|
||
|
modified. Some example configurations are provided in the directory. To enable
|
||
|
one, rename it without the .example at the end and edit for your application.
|
||
|
|
||
|
For more information on Emperor mode, see
|
||
|
http://projects.unbit.it/uwsgi/wiki/Emperor
|
||
|
|
||
|
|
||
|
Plugins
|
||
|
-------
|
||
|
|
||
|
This uWSGI package is fully modular. Some plugins, such as the Python plugin,
|
||
|
are not embedded in the main server binary.
|
||
|
|
||
|
This means that your application configurations need to specify the plugins it
|
||
|
uses. For example, a Python application will need the following option
|
||
|
specified:
|
||
|
|
||
|
plugins = python
|
||
|
|
||
|
Alternatively, uWSGI has a autoload option that will load any plugins when it
|
||
|
encounters options for those plugins in the configuration. To enable that, use
|
||
|
the following in the configuration:
|
||
|
|
||
|
autoload = 1
|
||
|
|