tomcat的运行脚本
#!/bin/bash
case $1 in
start)
sh /usr/local/apache-tomcat-8.0.30/bin/startup.sh;;
stop)
sh /usr/local/apache-tomcat-8.0.30/bin/shutdown.sh;;
restart)
sh /usr/local/apache-tomcat-8.0.30/bin/shutdown.sh
sh /usr/local/apache-tomcat-8.0.30/bin/startup.sh;;
*)
echo “Usage: start|stop|restart”;;
esac
exit 0
posted on 2015-12-22 10:35 Micheal的技术后花园 阅读(176) 评论(0) 编辑 收藏 举报