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 &
https://blog.csdn.net/weixin_43641651/article/details/88013210
#!/bin/bash nohup java -jar SNAPSHOT.jar --spring.profiles.active=dev > /usr/local/product/log/product.log 2>&1 &