故障问题:ansible远程调用startup.sh启动tomcat,启动失败。 解决方法: ansible调用shell脚本启动tomcat得加上nohup 后面还不能跟 “&”
ansible peixun-145 -m shell -a "nohup /script/fc_tomcat.sh coreinterface restart"
故障问题:ansible远程调用startup.sh启动tomcat,启动失败。 解决方法: ansible调用shell脚本启动tomcat得加上nohup 后面还不能跟 “&”
ansible peixun-145 -m shell -a "nohup /script/fc_tomcat.sh coreinterface restart"
上一篇:liunx 内存分配
jenkins结合supervisord和ansible启动java服务
tomcat无法启动
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M