From 315e4e624cea3207407ee6cdca723b2e20f9f12a Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Mon, 28 Oct 2013 02:41:40 +0100 Subject: [PATCH] added some prints to bin/linspector for startup notification --- bin/linspector | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/linspector b/bin/linspector index a27fef0..bbf0307 100755 --- a/bin/linspector +++ b/bin/linspector @@ -108,10 +108,12 @@ def main(): config_parser = FullConfigParser() linspector_configuration, core = config_parser.parse_config(args.config) except Exception, msg: - print("Configuration error: " + str(msg) + "; Exiting now.") + print("Configuration error: " + str(msg) + ". Exiting now.") logger.error(msg) exit() + print("Scheduling jobs. Be patient...") + scheduler = Scheduler({"apscheduler.threadpool.max_threads": args.threads}) scheduler.start() @@ -143,6 +145,8 @@ def main(): jsonrpc.daemon = True jsonrpc.start() + print("Ready! Type \"help\" to view available commands or \"help COMMAND\" to view the commands help") + LishFrontend(interface) logger.debug("shutting down scheduler")