'Loads the old-style job configuration from options in the galaxy config file (by default, config/galaxy.ini).'

def __parse_job_conf_legacy(self):

    log.debug(('Loading    job    configuration    from    %s' % self.app.config.config_file))
    self.runner_plugins = [dict(id='local', load='local', workers=self.app.config.local_job_queue_workers)]
    if self.app.config.use_tasked_jobs:
        self.runner_plugins.append(dict(id='tasks', load='tasks', workers=self.app.config.local_task_queue_workers))
    for runner in self.app.config.start_job_runners:
        self.runner_plugins.append(dict(id=runner, load=runner, workers=self.app.config.cluster_job_queue_workers))
    for id in self.app.config.job_handlers:
        self.handlers[id] = (id,)
    self.handlers['default_job_handlers'] = self.app.config.default_job_handlers
    self.default_handler_id = 'default_job_handlers'
    for (id, tool_handlers) in self.app.config.tool_handlers.items():
        self.tools[id] = list()
        for handler_config in tool_handlers:
            handler_config['handler'] = handler_config.pop('name')
            self.tools[id].append(JobToolConfiguration(**handler_config))
    for (id, tool_runners) in self.app.config.tool_runners.items():
        if (id not in self.tools):
            self.tools[id] = list()
        for runner_config in tool_runners:
            url = runner_config['url']
            if (url not in self.destinations):
                self.destinations[url] = (JobDestination(id=url, runner=url.split(':', 1)[0], url=url, legacy=True, converted=False),)
            for tool_conf in self.tools[id]:
                if (tool_conf.params == runner_config.get('params', {})):
                    tool_conf['destination'] = url
                    break
            else:
                runner_config['destination'] = runner_config.pop('url')
                self.tools[id].append(JobToolConfiguration(**runner_config))
    self.destinations[self.app.config.default_cluster_job_runner] = (JobDestination(id=self.app.config.default_cluster_job_runner, runner=self.app.config.default_cluster_job_runner.split(':', 1)[0], url=self.app.config.default_cluster_job_runner, legacy=True, converted=False),)
    self.default_destination_id = self.app.config.default_cluster_job_runner
    self.limits = Bunch(registered_user_concurrent_jobs=self.app.config.registered_user_job_limit, anonymous_user_concurrent_jobs=self.app.config.anonymous_user_job_limit, walltime=self.app.config.job_walltime, walltime_delta=self.app.config.job_walltime_delta, total_walltime={}, output_size=self.app.config.output_size_limit, destination_user_concurrent_jobs={}, destination_total_concurrent_jobs={})
    log.debug('Done    loading    job    configuration')
