2018年8月13日
摘要: nohup 以及环境变量 ansible,在执行shell脚本的时候,用source ~/.bash_profile;nohup sh app.sh start & , 原因:ansible里如果用linux命令,需要先source ,ansible默认不加载linux的环境变量,所以一般把$HOM 阅读全文
posted @ 2018-08-13 17:15 朱传宝 阅读(3707) 评论(2) 推荐(1) 编辑