Adapts WSGI configuration
authorSébastien CHAZALLET <s.chazallet@gmail.com>
Mon, 19 May 2014 13:57:24 +0000 (15:57 +0200)
committerSébastien CHAZALLET <s.chazallet@gmail.com>
Mon, 19 May 2014 13:57:24 +0000 (15:57 +0200)
openerp-wsgi.py

index 4a3f34d..0fc2295 100644 (file)
@@ -26,7 +26,7 @@ conf = openerp.tools.config
 # Path to the OpenERP Addons repository (comma-separated for
 # multiple locations)
 
-conf['addons_path'] = '../../addons/trunk,../../web/trunk/addons'
+conf['addons_path'] = '/opt/odoo/odoo.git/addons'
 
 # Optional database config if not using local socket
 #conf['db_name'] = 'mycompany'
@@ -46,10 +46,10 @@ openerp.service.server.load_server_wide_modules()
 # Gunicorn
 #----------------------------------------------------------
 # Standard OpenERP XML-RPC port is 8069
-bind = '127.0.0.1:8069'
-pidfile = '.gunicorn.pid'
-workers = 4
-timeout = 240
-max_requests = 2000
+#bind = '127.0.0.1:8069'
+#pidfile = '.gunicorn.pid'
+#workers = 4
+#timeout = 240
+#max_requests = 2000
 
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: