added some prints to bin/linspector for startup notification
This commit is contained in:
parent
125dc63e7e
commit
315e4e624c
1 changed files with 5 additions and 1 deletions
|
|
@ -108,10 +108,12 @@ def main():
|
||||||
config_parser = FullConfigParser()
|
config_parser = FullConfigParser()
|
||||||
linspector_configuration, core = config_parser.parse_config(args.config)
|
linspector_configuration, core = config_parser.parse_config(args.config)
|
||||||
except Exception, msg:
|
except Exception, msg:
|
||||||
print("Configuration error: " + str(msg) + "; Exiting now.")
|
print("Configuration error: " + str(msg) + ". Exiting now.")
|
||||||
logger.error(msg)
|
logger.error(msg)
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
|
print("Scheduling jobs. Be patient...")
|
||||||
|
|
||||||
scheduler = Scheduler({"apscheduler.threadpool.max_threads": args.threads})
|
scheduler = Scheduler({"apscheduler.threadpool.max_threads": args.threads})
|
||||||
scheduler.start()
|
scheduler.start()
|
||||||
|
|
||||||
|
|
@ -143,6 +145,8 @@ def main():
|
||||||
jsonrpc.daemon = True
|
jsonrpc.daemon = True
|
||||||
jsonrpc.start()
|
jsonrpc.start()
|
||||||
|
|
||||||
|
print("Ready! Type \"help\" to view available commands or \"help COMMAND\" to view the commands help")
|
||||||
|
|
||||||
LishFrontend(interface)
|
LishFrontend(interface)
|
||||||
|
|
||||||
logger.debug("shutting down scheduler")
|
logger.debug("shutting down scheduler")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue