[IMP] let bash resolve openerp-server path
It isn't necessary to specify an absolute path, so let's stay flexible just in case.
This commit is contained in:
parent
129639a5e7
commit
aff73bfda4
@ -45,4 +45,4 @@ ENV OPENERP_SERVER /etc/odoo/openerp-server.conf
|
||||
USER odoo
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["/usr/bin/openerp-server"]
|
||||
CMD ["openerp-server"]
|
||||
|
@ -12,10 +12,10 @@ export PGHOST PGPORT PGUSER PGPASSWORD
|
||||
case "$1" in
|
||||
--)
|
||||
shift
|
||||
exec /usr/bin/openerp-server "$@"
|
||||
exec openerp-server "$@"
|
||||
;;
|
||||
-*)
|
||||
exec /usr/bin/openerp-server "$@"
|
||||
exec openerp-server "$@"
|
||||
;;
|
||||
*)
|
||||
exec "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user