linux下使用shell更新Tomcat下的war包
#!/bin/sh
#check war exists
echo "check war exists"
war_file_path=/usr/tomcat/tomcat8.0_8090/webapps
war_file_name=CTIM.war
if [ ! -f "$war_file_path/$war_file_name" ]; then
echo " ---------
原创
2017-05-24 10:49:51 ·
2305 阅读 ·
1 评论