Switch to side-by-side view
--- a/tool/run/plugins/webserver/server.java +++ b/tool/run/plugins/webserver/server.java @@ -43,6 +43,11 @@ String status = settings.read("status", "offline"); // if we are supposed to be offline, don't start the server if(status.equals("offline")){ + // we might have started before and need to now place it offline + WebServer server = (WebServer) core.temp.get("server"); + if(server != null){ + server.stopServer(); + } return; } // let's kickoff the server