Java 启动springboot -jar nohup
nohup /usr//bin/java -Dspring.config.location=project//xx/ -Duser.timezone=GMT+8 -jar -d64 -Xms2000M -Xmx5000M -server -Xloggc:/project/jvm/jvm.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/project/jvm/heapdump.hprof /project//-apigate-1.0-SNAPSHOT.jar >/dev/null 2>&1 &
nohup /usr//bin/java -Dspring.config.location=/project//xx/ --spring.profiles.active=prod -Duser.timezone=GMT+8 -jar -d64 -Xms2000M -Xmx5000M -server -Xloggc:/project/jvm/jvm.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/project/jvm/heapdump.hprof /project//-apigate-1.0-SNAPSHOT.jar >/dev/null 2>&1 &
nohup java -jar XXX.jar --spring.profiles.active=prod > /dev/null 2>&1 &
文章来源: blog.csdn.net,作者:隔壁老瓦,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/wxb880114/article/details/116454308
- 点赞
- 收藏
- 关注作者
评论(0)