title: Read Console input on spring boot with tomcat
body: <p>Is it possible to read console input just before the embedded tomcat on the spring boot starts? The supposedly application flow is, request username and password from the user, and that will be used to be able to start the application. It works when using the <code>java -jar</code> command, the problem is when I close the console(SSH on linux) the process stops. I tried searching about it and found out that the process is tied to the console, so I tried using <code>nohup</code>, the problem is I cannot request for console input when using that. Is there any other way?</p>