Sterling
DIIDevHeads IoT Integration Server
•Created by Sterling on 6/14/2024 in #middleware-and-os
How to Keep Spring Boot App Running After Closing PuTTY Session Without Using a Linux Service?
Hi Everyone,
I'm running a Spring Boot application with an embedded Tomcat server deployed as an executable jar file on a Linux server. I access the server through PuTTY and start the application using
The problem is, when I close the PuTTY session, the embedded Tomcat server and the jar file stop running. The application doesn't produce any specific error messages in this scenario.
While I understand running the jar as a Linux service is a solution, I'm interested in exploring other methods to keep the application running continuously, even after closing the PuTTY session. Are there any recommended approaches besides using a service? @Middleware & OS
6 replies