2014-12-10 06:20:15 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
2015-02-27 09:17:44 -05:00
|
|
|
# set odoo database host, port, user and password
|
|
|
|
export PGHOST=$DB_PORT_5432_TCP_ADDR
|
|
|
|
export PGPORT=$DB_PORT_5432_TCP_PORT
|
|
|
|
export PGUSER=$DB_ENV_POSTGRES_USER
|
|
|
|
export PGPASSWORD=$DB_ENV_POSTGRES_PASSWORD
|
2014-12-10 06:20:15 -05:00
|
|
|
|
2014-12-29 04:36:27 -05:00
|
|
|
# start Odoo
|
2015-02-27 09:17:44 -05:00
|
|
|
exec gosu odoo /usr/bin/openerp-server --config=/etc/odoo/openerp-server.conf
|