Commit ae27845d authored by Anael Beutot's avatar Anael Beutot
Browse files

Job store path

parent 8b07b6d1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -43,6 +43,10 @@ class NodeConfigParser(object):
                logger.error('Invalid value for debug in config file')
            self.debug = False

        # path settings
        self.jobs_store_path = config.get('jobs_store_path',
                                          '/var/lib/cc-node/jobs')


def configure_logging(level):
    level = {
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ class Handler(BasePlugin):

        #: jobs manager (different from MainLoop.jobs_manager)
        self.jobs_manager = JobsManager(logger, NodeJobsManagerInterface(self),
                                       JobsStore('/tmp/plopinou'))
                                       JobsStore(self.main.config.jobs_store_path))

    def stop(self):
        # kill all currently running shells