linux运行jar包时指定配置文件

nohup java -jar rh.jar --spring.profiles.active=prod  > rh.log 2>&1 &

有其他交流的想法,可以加我创建的Q群:820080257

おすすめ

転載: blog.csdn.net/weixin_46017976/article/details/117746805