linuxtomcat一键维护脚本系

发布时间:2022-11-12 00:41:49阅读:26次
系统大全为您提供  <spanstyle="font-family:Arial,Helvetica,sans-serif;">#!/bin</span>a="/usr/tomcat7/webapps/ROOT"b="/usr/tomcat7/webapps/ROOT.war"c="ROOT.war"tomcat_stop="/usr/tomcat7/binutdown.sh"sh"$tomcat_stop"psaufx|greptomcat|greproot|awk'{print$2}'|xargskill-9rm-rf/usr/tomcat7/logs/catalina.outif[-d"$a"];thenrm-r"$a"fiif[-f"$b"];thenrm"$b"fiif[-f"$c"];thencp"$c""$b"fid="/usr/tomcat7/bin/startup.sh"sh"$d"sleep10chmod+xwork.sh  以上就是系统大全给大家介绍的如何使的方法都有一定的了解了吧,好了,如果大家还想了解更多的资讯,那就赶紧点击系统大全官网吧。本文来自系统大全http://www.win7cn.com/如需转载请注明!推荐:win7纯净版