Fix startup script for Odoo<=10

This commit is contained in:
Stéphane Bidoul 2021-11-24 19:05:01 +01:00
parent b3e042e2fc
commit 9e1a21f409
No known key found for this signature in database
GPG key ID: BCAB2555446B5B92

View file

@ -10,7 +10,11 @@ bash /runboat/runboat-clone-and-install.sh
oca_wait_for_postgres
# --db_user is necessary for Odoo <= 10
unbuffer $(which odoo || which openerp-server) \
--data-dir=/mnt/data/odoo-data-dir \
--no-database-list \
-d ${PGDATABASE}
-d ${PGDATABASE} \
--db_user ${PGUSER}