#!/bin/bash

export PYTHONPATH="${PYTHONPATH}:/usr/lib/python2.6/site-packages/openerp-server/addons"
CONF=/opt/odoo/openerp-server.conf
ODOOCMD="openerp-server --config $CONF"

# Configuration generation and Odoo launch
bash genconf.sh && $ODOOCMD
