Cleaner way to disable database manager

This commit is contained in:
Stéphane Bidoul 2021-11-09 22:34:42 +01:00
parent 801790ed05
commit d8fff09ed1
No known key found for this signature in database
GPG key ID: BCAB2555446B5B92
2 changed files with 1 additions and 3 deletions

View file

@ -13,6 +13,3 @@ git fetch origin $RUNBOAT_GIT_REF:build
git checkout build git checkout build
oca_install_addons oca_install_addons
# disable the database manager
echo "list_db = False" >> $ODOO_RC

View file

@ -12,4 +12,5 @@ oca_wait_for_postgres
unbuffer $(which odoo || which openerp-server) \ unbuffer $(which odoo || which openerp-server) \
--data-dir=/opt/odoo-data \ --data-dir=/opt/odoo-data \
--no-database-list \
-d ${PGDATABASE} -d ${PGDATABASE}