Tomcat服务重启脚本#此脚本适用于本地安装tomcat环境,操作脚本重启。[root@ansible_clent~]#catrestart_tomcat.sh
#!/bin/bash
functionshutdown_tomcat(){
#tomcat_id=`jps|grepBootstrap|awk‘{print$1}‘`
tomcat_id=`lsof-i:8080|awk‘NR==2‘‘{print$2}‘`
if[!$tomcat_id];th..
分类:
其他好文 时间:
2017-01-11 08:26:08
阅读次数:
128