启动Tomcat的脚本

1 #!/bin/sh
2 cd /home/tomcat/tomcat_8080;
3 ps -ef|grep /tomcat_8080/ |awk '{print $2}'|xargs kill -9;
4 ./bin/startup.sh;
5 tail -f ./logs/catalina.out;

posted @ 2018-11-08 18:14  zero1991  阅读(121)  评论(0编辑  收藏  举报