d = h.split('.')[0]
r = openerp.tools.config['dbfilter'].replace('%h', h).replace('%d', d)
+ try:
- + f = req.httprequest.environ['HTTP_OPENERP_DB_FILTER'] or ''
+ + f = req.httprequest.environ['HTTP_OPENERP_DB_FILTER']
+ r = r.replace('%f', f)
+ except KeyError:
+ pass
EOF
for db in \
+ autourducycle \
+ cyclo_ivry \
cyclo_ivry \
cyclo_pantin \
cyclo_paris_est \
+ cyclofficine_angouleme \
dynamo \
+ labecaneajules \
+ ohcyclo \
ptitvelo \
+ repeyre \
+ txirrindola \
velorution_idf \
+ velorution_toulouse \
velosenville \
vieuxbiclou
do
--stop-after-init \
--timezone="$(cat /etc/timezone)" \
--without-demo=base \
- --workers=4 \
+ --workers=0 \
--xmlrpc-interface=127.0.0.1 \
--xmlrpc-port=8069
#--no-database-list \