Synnefo¶
synnefo || ns || apt || mq || db || gunicorn || apache || webproject || astakos || cms || pithos || cyclades || kamaki || backends
Gunicorn Setup¶
The following apply to astakos
, pithos
, cyclades
and cms
nodes.
# apt-get install -t squeeze-backports gunicorn
In /etc/gunicorn.d/synnefo add:
CONFIG = {
'mode': 'django',
'environment': {
'DJANGO_SETTINGS_MODULE': 'synnefo.settings',
},
'working_dir': '/etc/synnefo',
'user': 'www-data',
'group': 'www-data',
'args': (
'--bind=127.0.0.1:8080',
'--workers=4',
'--worker-class=gevent',
'--log-level=debug',
),
}
Setting gevent
for worker-class, requires webproject to support
pooling and greenlets.