From e78d907db0a9d933a6f30b5929f6fcdc0ec009c2 Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Tue, 1 Nov 2016 17:28:35 -0700 Subject: [PATCH] Add clo to launch interface after content loads --- server-console/src/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server-console/src/main.js b/server-console/src/main.js index d8a6f30ac1..6c82230601 100644 --- a/server-console/src/main.js +++ b/server-console/src/main.js @@ -868,6 +868,12 @@ function onContentLoaded() { homeServer.start(); } + // If we were launched with the launchInterface option, then we need to launch interface now + if (argv.launchInterface) { + log.debug("Interface launch requested... argv.launchInterface:", argv.launchInterface); + startInterface(); + } + // If we were launched with the shutdownWatcher option, then we need to watch for the interface app // shutting down. The interface app will regularly update a running state file which we will check. // If the file doesn't exist or stops updating for a significant amount of time, we will shut down.