Search code examples
javalinuxspring-bootjakarta-eessh

Spring boot shut down when I close the session


My Spring Boot Rest Api works veryy good, but I have problem with him.
When I'm closing the terminal SSH, my application rest shut down also.

What I should do ? How to fix that ?


Solution

  • try nohup

    nohup yourcommandtolauncjava