Fix startup script for Odoo<=10
This commit is contained in:
parent
b3e042e2fc
commit
9e1a21f409
1 changed files with 5 additions and 1 deletions
|
|
@ -10,7 +10,11 @@ bash /runboat/runboat-clone-and-install.sh
|
||||||
|
|
||||||
oca_wait_for_postgres
|
oca_wait_for_postgres
|
||||||
|
|
||||||
|
|
||||||
|
# --db_user is necessary for Odoo <= 10
|
||||||
|
|
||||||
unbuffer $(which odoo || which openerp-server) \
|
unbuffer $(which odoo || which openerp-server) \
|
||||||
--data-dir=/mnt/data/odoo-data-dir \
|
--data-dir=/mnt/data/odoo-data-dir \
|
||||||
--no-database-list \
|
--no-database-list \
|
||||||
-d ${PGDATABASE}
|
-d ${PGDATABASE} \
|
||||||
|
--db_user ${PGUSER}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue