[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
|
USER odoo
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
CMD ["/usr/bin/openerp-server"]
|
CMD ["openerp-server"]
|
||||||
|
@ -12,10 +12,10 @@ export PGHOST PGPORT PGUSER PGPASSWORD
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
--)
|
--)
|
||||||
shift
|
shift
|
||||||
exec /usr/bin/openerp-server "$@"
|
exec openerp-server "$@"
|
||||||
;;
|
;;
|
||||||
-*)
|
-*)
|
||||||
exec /usr/bin/openerp-server "$@"
|
exec openerp-server "$@"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user