elasticsearch : replace the entrypoint by the command