':type config: object
:param config: An object, most likely populated from
`galaxy/config.ini`, having the following attributes:
* object_store_check_old_style (only used by the
:class:`DiskObjectStore` subclass)
* jobs_directory -- Each job is given a unique empty directory
as its current working directory. This option defines in what
parent directory those directories will be created.
* new_file_path -- Used to set the \'temp\' extra_dir.'

def __init__(self, config, **kwargs):

    self.running = True
    self.extra_dirs = {}
    self.config = config
    self.check_old_style = config.object_store_check_old_style
    self.extra_dirs['job_work'] = config.jobs_directory
    self.extra_dirs['temp'] = config.new_file_path
