Fix entrypoint to call odoo instead of openerp-server

This commit is contained in:
Peter Alabaster 2016-10-11 14:14:10 +01:00
parent c22caf6d29
commit 488555e0da
2 changed files with 3 additions and 3 deletions

View File

@ -50,4 +50,4 @@ ENV OPENERP_SERVER /etc/odoo/openerp-server.conf
USER odoo USER odoo
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
CMD ["openerp-server"] CMD ["odoo"]

View File

@ -12,10 +12,10 @@ export PGHOST PGPORT PGUSER PGPASSWORD
case "$1" in case "$1" in
--) --)
shift shift
exec openerp-server "$@" exec odoo "$@"
;; ;;
-*) -*)
exec openerp-server "$@" exec odoo "$@"
;; ;;
*) *)
exec "$@" exec "$@"