Skip to content
Snippets Groups Projects
Commit ae27845d authored by Anael Beutot's avatar Anael Beutot
Browse files

Job store path

parent 8b07b6d1
No related branches found
No related tags found
No related merge requests found
......@@ -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 = {
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment