linux服务器上jar启动脚本

https://blog.csdn.net/weixin_43641651/article/details/88013210

解决linux环境下nohup: redirecting stderr to stdout问题

#!/bin/bash
nohup java -jar SNAPSHOT.jar --spring.profiles.active=dev > /usr/local/product/log/product.log 2>&1 &

 

posted @ 2021-11-19 14:11  wujingqi  阅读(43)  评论(0编辑  收藏  举报