.. _i-gunicorn: Synnefo ------- :ref:`synnefo ` || :ref:`ns ` || :ref:`apt ` || :ref:`mq ` || :ref:`db ` || gunicorn || :ref:`apache ` || :ref:`webproject ` || :ref:`astakos ` || :ref:`cms ` || :ref:`pithos ` || :ref:`cyclades ` || :ref:`kamaki ` || :ref:`backends ` Gunicorn Setup ++++++++++++++ The following apply to ``astakos``, ``pithos``, ``cyclades`` and ``cms`` nodes. .. code-block:: console # apt-get install -t squeeze-backports gunicorn In `/etc/gunicorn.d/synnefo` add: .. code-block:: console 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. Test your Setup: ++++++++++++++++