Use template1 db

Odoo uses template0 by default but the postgres
docs says it must not be modified.
This commit is contained in:
Stéphane Bidoul 2021-12-20 22:55:06 +01:00
parent dc3fb453dd
commit 3b3a6f4ea9
No known key found for this signature in database
GPG key ID: BCAB2555446B5B92

View file

@ -17,6 +17,7 @@ ADDONS=$(addons --addons-dir ${ADDONS_DIR} --include "${INCLUDE}" --exclude "${E
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 \
--db-template=template1 \
-d ${PGDATABASE} \ -d ${PGDATABASE} \
-i ${ADDONS:-base} \ -i ${ADDONS:-base} \
--stop-after-init --stop-after-init