Use template1 db
Odoo uses template0 by default but the postgres docs says it must not be modified.
This commit is contained in:
parent
dc3fb453dd
commit
3b3a6f4ea9
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue