synnefo 364 Bytes
Newer Older
Dimitris Aragiorgis's avatar
Dimitris Aragiorgis committed
1
2
3
4
5
6
CONFIG = {
 'mode': 'django',
 'environment': {
   'DJANGO_SETTINGS_MODULE': 'synnefo.settings',
 },
 'working_dir': '/etc/synnefo',
7
8
 'user': 'synnefo',
 'group': 'synnefo',
Dimitris Aragiorgis's avatar
Dimitris Aragiorgis committed
9
10
 'args': (
   '--bind=127.0.0.1:8080',
11
12
   '--workers=8',
   '--worker-class=gevent',
Dimitris Aragiorgis's avatar
Dimitris Aragiorgis committed
13
14
   # '--worker-class=sync',
   '--log-level=debug',
15
   '--log-file=/var/log/synnefo/gunicorn.log',
Dimitris Aragiorgis's avatar
Dimitris Aragiorgis committed
16
17
 ),
}