linux boot jar package

 

Command is:

nohup java -jar project.jar  --spring.config.location=/home/project-conf/application.yml >  /home/project-conf/nohup.out 2>&1 &

Command interpretation

1.nohup: Background start, the window closes continue.

2.java -jar: Start jar package command.

3.project.jar: The start of the project jar package.

4. --spring.config.location =: spring project, yml document specifies the use of.

5./home/project-conf/application.yml:yml path.

6.> /home/project-conf/nohup.out 2> & 1 &: Specify a log file output operation.

Guess you like

Origin www.cnblogs.com/rh-fernando/p/11824243.html