原:
ss -lntup| grep web-go || nohup ./web-go &
修改后
ss -lntup| grep web-go || { echo 'nohup ./web-go' > web-go.shnohup /bin/bash web-go.sh > /dev/null & }
效果jenkins job任务不会一直卡住
本文来自投稿,不代表本人立场,如若转载,请注明出处:http://www.sosokankan.com/article/2285700.html
赞 (5)
打赏 微信扫一扫
基于AIO模型的高效通信架构在光伏终端数据采集的应用
« 上一篇2020-01-18 13:05:41
在AI世界闯荡的“挑战者”白涛
下一篇 »2020-01-18 13:44:48