Fix entrypoint to call odoo instead of openerp-server
This commit is contained in:
parent
c22caf6d29
commit
488555e0da
@ -50,4 +50,4 @@ ENV OPENERP_SERVER /etc/odoo/openerp-server.conf
|
||||
USER odoo
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["openerp-server"]
|
||||
CMD ["odoo"]
|
||||
|
@ -12,10 +12,10 @@ export PGHOST PGPORT PGUSER PGPASSWORD
|
||||
case "$1" in
|
||||
--)
|
||||
shift
|
||||
exec openerp-server "$@"
|
||||
exec odoo "$@"
|
||||
;;
|
||||
-*)
|
||||
exec openerp-server "$@"
|
||||
exec odoo "$@"
|
||||
;;
|
||||
*)
|
||||
exec "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user