I have my spring boot application, I normally work with wars that I deploy on tomcat, but I want to try this way a little bit more.
My problem is that when I deploy it in a server, and I do
java -jar target/myproject.jar
Works pretty fine, but after a time without use, the shell gets disconnected and soon after it (I believe because the shell) the process stops.
Any idea how to deal with this?
I am using Debian.
Thanks.