springboot project on linux jar labeled package running in the background

Background: springboot2 for the project as the main building, directly labeled jar package, upload it to the top linux

Start project: java -jar xx.jar This is convenient, but can not close the window, otherwise the project stopped

Background start: nohup java -jar xx.jar & 

This will start the background

Guess you like

Origin www.cnblogs.com/zfding/p/11429552.html