Close Xshell Linux service shutdown problems

1, execute the command nohup

Run nohup> / dev / null 2> / dev / null &

2, run, do not print the log, at first I thought it did not start successfully. In fact, nohup.out will generate a file in the jar package, log in here

 

Guess you like

Origin www.cnblogs.com/mikemhm/p/11965437.html