nohup: failed to run command `java': No such file or directory
时间:2019-02-26 16:16:17
收藏:0
阅读:3383
在执行脚本添加这一行
source /etc/profile
exec nohup java -Xms1024m -Xmx2048m -jar /opt/dev/claimzuul/$JAR_BAO --spring.config.location=/opt/dev/claimzuul/application.properties &
在服务器上面执行远程脚本成功
原文:https://www.cnblogs.com/mutong1228/p/10437975.html
评论(0)