- 博客(3)
- 收藏
- 关注
原创 Linux后台运行SpringBoot项目
nohup使用nohup命令可以解决上述问题,让SpringBoot项目不挂断地在Linux后台运行。语法:nohup Command [ Arg … ][ & ]示例:nohup java -jar xxx.jar &执行上述命令,nohup会把执行结果中的日志默认输出到当前文件夹下面的nohup.out文件中。也可以手动指定日志输出到哪个文件中。nohup java -jar xxx.jar > nohup.log 2>&1 &am
2021-09-17 16:33:38 551
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人