Jar file run on a server background with close putty session
问题 I have tried the run spring boot jar file using putty. but the problem is after closed the putty session service was stopped. 回答1: then i tried up the jar file with following command. its working fine . **nohup java -jar /web/server.jar ** 回答2: You should avoid using nohup as it will just disassociate your terminal and the process. Instead, use the following command to run your process as a service. sudo ln -s /path/to/your-spring-boot-app.jar /etc/init.d/your-spring-boot-app This command